react-native-unimodules icon indicating copy to clipboard operation
react-native-unimodules copied to clipboard

How to install into iOS App Extension

Open Joyep opened this issue 6 years ago • 1 comments

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",

Joyep avatar Oct 11 '19 09:10 Joyep

And how are you instantiating React Native in an App Extension?

sjchmiela avatar Nov 04 '19 12:11 sjchmiela