You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m having some trouble integrating the Android SDK with my React Native app.
I’m able to inject an access token using the Cloud SDK and then register a device using the Device Setup Library. However, once setup has finished, I can’t seem to hand back control to RN / return to the “main activity”.
In MainApplication.java I’m initialising the setup library:
@Override
public void onCreate() {
super.onCreate();
...
ParticleDeviceSetupLibrary.init(this.getApplicationContext(), MainActivity.class);
}
Original issue: particle-iot/spark-setup-android#61
I’m having some trouble integrating the Android SDK with my React Native app.
I’m able to inject an access token using the Cloud SDK and then register a device using the Device Setup Library. However, once setup has finished, I can’t seem to hand back control to RN / return to the “main activity”.
In MainApplication.java I’m initialising the setup library:
Then in my native module I call:
I really don’t have much experience writing native code, so any pointers would be much appreciated!
The text was updated successfully, but these errors were encountered: