Tap-Payments / gosellSDK-ReactNative

ReactNative plugin for goSell checkout SDK
11 stars 12 forks source link

fatalError("There is no \(Constants.goSellSDKResourcesBundleName) bundle.") In IOS #8

Closed ramisalem closed 3 years ago

ramisalem commented 3 years ago

Hello, Good day,

I am getting fatalError("There is no (Constants.goSellSDKResourcesBundleName) bundle.") in Xcode after calling startPayment method

Screenshot 2021-01-18 at 8 57 04 AM

[here is the sentry log for more details] (https://sentry.io/share/issue/dc2d00acd3364db59a284d463c43250d/)

    console.log('start SDK');
    console.log(this.sdkModule, this.sdkModule.startPayment);

    this.sdkModule &&
      this.sdkModule.startPayment(sdkConfigurations, this.handleResult);
  } 

 log is 

 {"getConstants": [Function anonymous], "kareem": [Function nonPromiseMethodWrapper], "startPayment": [Function nonPromiseMethodWrapper]} undefined

what I did 1) I have cloned the repo and tried the example, firstly it does not work till I removed "\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"", From LIBRARY_SEARCH_PATHS

2) I tried the same js code in my project, I got the above error

Thanks in advance

kareemTap commented 3 years ago

@ramisalem Can you please try to use the latest version? It should work properly.

kareemTap commented 3 years ago

Closed since we didn't get a reply so we are expecting the issue is solved.