react-native-unimodules
react-native-unimodules copied to clipboard
How to install into iOS App Extension
I tried unimodules in iOS App, it works well. Now, I want to install it into App Extension(such as Share Extension). But, when I call LocalAuthentication.authenticateAsync(...), it failed
auth failed [TypeError: undefined is not an object (evaluating '_ExpoLocalAuthentication.default.authenticateAsync')]
In mornal iOS installation instruction(https://github.com/unimodules/react-native-unimodules#-configure-ios), said
Update your AppDelegate.h and AppDelegate.m ...
but there is no AppDelegate created in App Extension. How should I do to install into App Extension?
"react-native": "0.61.2", "react-native-unimodules": "^0.7.0-rc.1",
And how are you instantiating React Native in an App Extension?