MaxAst / expo-share-extension

Expo config plugin for creating iOS share extensions with a custom view.
MIT License
231 stars 8 forks source link

Fix google auth in share extension #16

Open MaxAst opened 8 months ago

MaxAst commented 8 months ago

Noticed that when no auth session exists, and I try to log in with Google from the share extension view, I get this error:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '|presentingViewController| must be set.'

This might get fixed by adding the REVERSED_CLIENT_ID from the Google Services file to the CFBundleURLSchemes array in the share extension's Info.plist