ondato / ondato-sdk-react-native

MIT License
3 stars 5 forks source link

Issue with Ondato Library Installation on React Native ^0.72.0 #1

Closed Lenovis closed 7 months ago

Lenovis commented 9 months ago

Hi!

I'm encountering an issue while attempting to integrate the Ondato library into my React Native project with version ^0.72.0. I followed the documentation provided, but I'm currently stuck at the iOS build step.

Problem:

The build process fails with the following error messages:

The following build commands failed:
SwiftCompile normal arm64 /Users/xxx/Projects/xxx/node_modules/ondato-sdk-react-native/ios/OSRN/OSRNViewManager.swift (in target 'ondato-sdk-react-native' from project 'Pods')
SwiftCompile normal arm64 Compiling\ OSRNViewManager.swift /Users/xxx/Projects/xxx/node_modules/ondato-sdk-react-native/ios/OSRN/OSRNViewManager.swift (in target 'ondato-sdk-react-native' from project 'Pods')

Steps to Reproduce:

Cloned a new React Native project with version ^0.72.0. Followed the Ondato library installation instructions from the official documentation. Encountered the mentioned issues during the iOS build process.

Additional Information:

I've tried troubleshooting this problem on my own, but I can't seem to find a resolution. Could you please provide guidance on how to overcome this issue? Any help or suggestions would be greatly appreciated.

Svaike commented 9 months ago

@Lenovis we will try to reproduce the issue and will come back with answer most likely next week. How urgent is the matter?

Lenovis commented 9 months ago

@Lenovis we will try to reproduce the issue and will come back with answer most likely next week. How urgent is the matter?

We made this flow by calling Ondato -> receiving redirectUrl -> calling Linking from react-native to open the website for authorization -> calling the redirect link, provided in the first place, to go back to the app with the deep link on success flow. For now, it's just a "nice to have feature" later on when we want to embed the Ondato flow in our app.

Svaike commented 9 months ago

@Lenovis just to confirm, did you follow this part of the integration guide?

Comment out or remove the following line in your Podfile (the example is based on React Native 0.71.4 and might have variations on different versions), this is required because Flipper is currently not supported by Ondato SDK:

# ...
#:flipper_configuration => flipper_config,
# ...
Svaike commented 8 months ago

@Lenovis the project was updated, please let me know if you still face the issue.

Lenovis commented 8 months ago

@Lenovis the project was updated, please let me know if you still face the issue.

Hi, will check in the future.