Salesforce Snapin SDK integration with UI

Salesforce Snapin SDK integration with UI

  

Hi Everyone,

I am trying to integrate the salesforce snap in sdk with outsystems for android. The sdk is found at the following url

https://developer.salesforce.com/docs/atlas.en-us.noversion.service_sdk_android.meta/service_sdk_android/android_install_sdk.htm

Since there is no cordova plugin available for this, i am trying write my own cordova plugin by referencing the jar file. The issue i am facing is, this sdk will also add a chat box in the UI so i the examples provided at the site for android are extending from AppCompatActivity class. 

But if i were to convert to cordova plugin then i need to use the CordovaPlugin by doing this i believe the sdk will no longer be able to access the UI elements on the screen and wont be able to show the chat box. 

Any idea how this can be achieved? 

Thanks in advance. 

Cheers,

Sujan