The first time ever you want to use the package, you need to register the device with Terra using initConnection. You can generate an SDK token from here using your Terra dev credentatials:
From README | Using the package
Tapping on "here" above opens https://docs.tryterra.co/reference/generate-authentication-token, which shows a "Page Not Found" error.

Tapping on "here" above opens https://docs.tryterra.co/reference/generate-authentication-token, which shows a "Page Not Found" error.