tapsellorg/TapsellPlusSDK-ReactNativePlugin

Get error when running ios version

Closed this issue · 2 comments

When I use TapsellPlus.initialize(AD_APP_KEY) I got this error
Screen Shot 1400-05-21 at 19 57 53

Thank for reporting this error
The error is related to this part of the code.

The problem is this module does not exist in iOS, since the plugin is implemented only in Android native side.

Will be fixed in the next version.
Temp solution would be importing tapsell under a certain condition and that is checking if the Platform is Android. Otherwise TapsellPlus#index.js should not be executed

EDIT: Currently there's NO plan for supporting the iOS, the fix will just ignores iOS platform

Feel free to reopen if still happens