IMPLEMENTATION_TYPEassigned to your application to the
initmethod as a parameter. Generally, initialization is implemented in the Application class in your project.
openRoomList()method in the TapUI class. Creating a user interface won't be necessary, because TapTalk.io have provided an integrated user interface to be used in your application. To use TapTalk.io's chat interface, simply initialize our TapUI method and you are good to go. For more information about TapUI and TapCore, please see TapUI and TapCore page.
navigateToPowerTalk()to open PowerTalk chat view from the previously created activity. Annotating this method with
ReactPackage. We will name this file
createNativeModules()function and add the
PowerTalkStarterModuleobject to modules array.
getPackages()method of the MainApplication.java file.
navigateToPowerTalk()method to open PowerTalk chat view.
NativeModulesfrom React Native:
navigateToPowerTalk()to open PowerTalk chat view. Here we will be using a button's
onPress()method as an example.