I’m trying to add Reader SDK to a React Native project and I’m mostly interested in building an iOS application.
I followed your guide here: react-native-square-reader-sdk/get-started.md at master · square/react-native-square-reader-sdk · GitHub but I’m stuck at point 8 of the Step 5, because when I initialized the project with react-native the iOS application’s code is C++ and not Swift (like the Quick Start Sample App you have in the same repository).
So my question is: how do I update the
func application method in my app delegate to initialize the Reader SDK? I have two files that I guess I should be changing but not sure which one (AppDelegate.h or AppDelegate.mm) and how exactly.
- react-native 0.71.3
- react-native-square-reader-sdk 1.4.3
- Reader SDK 1.6.9