Discussions

Ask a Question
Back to All

"Adapty SDK was not initialized" on Android

I am using React Native to develop my iOS and Android Apps. On iOS, everything works well. But on Android, my adapty.purchases.restore() function throws an error like below;

{"adaptyCode": "sdkNotActive", "code": 403, "localizedDescription": "Adapty SDK was not initialized"}

Also, while getting the products, it turns the empty products (with prices of 0). So, it is not a problem about the connection between my App and Adapty.

I followed the Android instructions part, twice. But the results are the same. What should I do?

Thank you all, in advance.