pushy / pushy-react-native

The official Pushy SDK for React Native apps.
Apache License 2.0
16 stars 20 forks source link

setEnterpriseConfig #78

Closed ShahirZain closed 2 years ago

ShahirZain commented 2 years ago

there is no method in react-native to set enterprise configuration, Is there any possibility to get near in future or not?

pushy commented 2 years ago

Hi @ShahirZain, Thanks for creating this issue.

The method Pushy.setEnterpriseConfig() is definitely supported by the Pushy React Native SDK (for both iOS & Android). It needs to be invoked from within React Native as follows:

Pushy.setEnterpriseConfig("https://ENTERPRISE_HOSTNAME", "ssl://ENTERPRISE_HOSTNAME");

Note: Please replace ENTERPRISE_HOSTNAME with your Pushy Enterprise deployment hostname. Please get in touch with us if you have any further questions, via e-mail at support@pushy.me.