zoho / SalesIQ-Mobilisten-ReactNative

Your mobile app's ideal live chat partner. Power up your mobile App with the SalesIQ Mobilisten SDK for React-Native.
https://mobilisten.io/
8 stars 12 forks source link

Invalid Resource error when initializing the SDK. #16

Closed alihassan0 closed 3 years ago

alihassan0 commented 3 years ago

Hello There,

I have been using the SDK for a few months now. and it was working great. but suddenly I find that the sdk no longer opens. debugging further it seems initializing the sdk no longer works even though I double check the app key & access key. and I have a deployed version where the sdk works. After going through the logs I found this error. so I assume it's from the backend but I can't figure out exactly what to change since I am just initializing the app nothing more.

❌ MOBILISTEN » INIT FAILED: CODE: 1019 MESSAGE: Invalid Resource

Thanks

Rishabh-Raghunath commented 3 years ago

Hi @alihassan0, Thanks for reaching out. Could you help us with your portal name so we can check this further?

alihassan0 commented 3 years ago

Thanks for the quick reply.

not sure what the portal name is but the company Name is "Ackoo"

https://salesiq.zoho.com/ackoo

Rishabh-Raghunath commented 3 years ago

Great. It looks like you might be appending ".dev" to the bundle ID that is registered on the SalesIQ console. Could you recheck your bundle ID and let me know if all works fine?

alihassan0 commented 3 years ago

Just tested it and it works. Thanks a lot !! we have a dev & production as two different schemas. the dev one's bundle id is postfixed with .dev So I guess now it only works on the production one.

Thanks a lot for the quick turnaround <3 . and if I may suggest a better error message as I have spent around 4 hours trying everything to figure out why it won't work.

Rishabh-Raghunath commented 3 years ago

Great to hear that it's working now. And sure we'll take that as feedback. Thanks.