tinycreative / react-native-intercom

React Native wrapper for Intercom.io
MIT License
406 stars 280 forks source link

Support initializing library #315

Closed ScottRobbins closed 2 years ago

ScottRobbins commented 5 years ago

I need to initialize the Intercom library based on api keys sent back from a server (that all happens in javascript).

Right now, there's no method to call this (setAPIKey:forAppId: on iOS, initialize on Android) from javascript.

Normally I would just make a PR and submit it, but i found this issue from a year ago: https://github.com/tinycreative/react-native-intercom/issues/188 . The issue never got a response form a member and then was closed. Is there a reason not to support this?