tapsellorg / TapsellPlusSDK-ReactNativePlugin

2 stars 2 forks source link

Get error when running ios version #7

Closed AlirezaHadjar closed 1 year ago

AlirezaHadjar commented 3 years ago

When I use TapsellPlus.initialize(AD_APP_KEY) I got this error

Screen Shot 1400-05-21 at 19 57 53
mahdi-malv commented 3 years ago

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

MortezaNedaei commented 1 year ago

Feel free to reopen if still happens