I am developing an expo app. It needs to redirect back to the app after users have given authentication. When I was using expo go for basic testing this seemed to work fine but now that I am testing a development build and eventually a production build my process does not seem to work. I can navigate to dropbox.com/oauth2/authorize but returning to the app after receiving permission from the user seems to be the issue.
In my app.json file I have:
"expo": {
"scheme": "myapp",
}
Here is how I build my redirect URI:
import * as AuthSession from 'expo-auth-session';
export function StartupAutheticationScreen() {
const dropboxRedirURI = AuthSession.makeRedirectUri({path: 'Auth'});
...
}
The authentication process works until i give permission. Once I click 'allow' I am not redirected to my app. Any help would be greatly appreciated. Thanks!