So I'm trying to launch the react-native sample (GitHub - Rainbow-CPaaS/Rainbow-React-Native-Samples) with android.
I saw in the react-native guide (Rainbow API Hub | SDK and API documentation and samples (openrainbow.com)) that I need to have to create a configuration json file, set my app credentials and then initialize the sdk with that method:
But when I try to build the app, the build fails.
C:\Workspace\Rainbow-React-Native-Samples\android\app\src\main\java\com\example\reactnativerainbowmodule\MainApplication.java:54: error: cannot find symbol
symbol: method initializeRainbowSdk(MainApplication,String,String,String)
location: class RainbowPackage
FAILURE: Build failed with an exception.
In my opinion, it was an old way to initialize the sdk and the documentation is outdated for the android part. It looks like that the method doesn't exist anymore.
Am I right, is the documentation outdated ? If yes, can you explain how you initialize the sdk now ?
Thank you in advance.
Please sign in to leave a comment.