Implement ASAP for Mobile Platforms on a React-Native App.

Implement ASAP for Mobile Platforms on a React-Native App.

Hello. I am currently developing a React-Native app for mobile phones and I wanted to include the Mobile SDK in order to include the Customer Support dashboard.

I am not knowledgeable in Java and some questions have arisen when trying to follow the step by step documentation. First, I added the 'Initialize the SDK in Your App' code snippet like this:

  1. @Override
    public void onCreate() {
    super.onCreate();
    SoLoader.init(this, /* native exopackage */ false);
    ZohoDeskPortalSDK.Logger.enableLogs();
    DeskConfig config = new DeskConfig.Builder().build();
    deskInstance = ZohoDeskPortalSDK.getInstance(this);
    deskInstance.initDesk(orgId, appId, dataCenterValue, config);
    }
In my public class MainApplication extends Application implements ReactApplication.

Is this correct? I couldn't follow the guide exactly since I already has an 'onCreate()' function.

Then I have a question regarding the next step. In order to 'Display Help Components' in React-Native, I am a bit of a loss. I'd think I need to import some component, but I don't know how it'd interact with the Java snippet. Do I simply use the MyApplication.deskInstance.startDeskHomeScreen(activity.this); snippet?

Is there any way to learn a more focused React-Native way to implement this functionality?

Thanks in advance.