I detached my app from Expo with yarn eject
and selected the ExpoKit option. It worked and the app is opening in a separate application without Expo as expected. The problem now is that the facebook authentication stopped working, the callback uses the deep link (like myapp://fbauth
) and it opens the Expo client instead of the detached app.
I tried uninstalling Expo client and now the deeplink does nothing at all, I am on Android btw.
Here is the relevant part of app.json:
{
"expo": {
...
"scheme": "myapp",
"sdkVersion": "27.0.0",
"isDetached": true,
"detach": {
"scheme": "exp6a63a2c71a5c4fe6a5bb95d8a370f1ab",
"iosExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/ios-v2.5.10-sdk27.0.0-7e6dd135-e649-48e2-ab7c-e76521ce6259.tar.gz",
"androidExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/android-v2.5.3-sdk27.0.0-408c8d77-8d1f-4784-b7b4-93826250663a.tar.gz"
}
}
}
Why did it generated this random scheme
on detach
even if I had a scheme
before detaching it?