-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when calling register sdk returns "Apptentive already initialized" #114
Comments
Hi @mtpjr88, thanks for reaching out. We'll take a closer look and get back to you with next steps. Are you able to launch any Apptentive dialogs despite this? |
Hi @mtpjr88. My team mentioned that it looks like you're registering Apptentive twice. Can you see any way that that might be possible? Also, is this preventing any Apptentive Dialogs from displaying? We haven't seen this before so would appreciate your feedback in order to make a recommendation. Thanks! |
@CaseyApptentive const configuration = new ApptentiveConfiguration(
credentials.apptentiveKey,
credentials.apptentiveSignature
); thus |
Seems like this thread might be dead, but chiming in to report I'm getting the same issue reported here. |
As a way to avoid seeing the warning message in the app and in any error tracking services, you can swalllow it this way:
But ideally the library shouldn't throw a warning for a method that's required to use it. |
Hi @CaseyApptentive , Is it ok to registering Apptentive twice? When I hot-reload my app, Apptentive.register(configuration) does not return any thing. |
This will boolean will always return true since
apptentiveKey and apptentiveSignature are required fields for the js sdk ie docs:
https://learn.apptentive.com/knowledge-base/react-native-integration-reference/
The text was updated successfully, but these errors were encountered: