Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
squidlauncher64
3 years agoExplorer | Level 3
Dropbox custom URL scheme
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 ...
squidlauncher64
3 years agoExplorer | Level 3
So it fails the first check. Here are the guides i have been trying to follow:
https://docs.expo.dev/guides/linking/#linking-to-your-app
https://docs.expo.dev/guides/linking/
According to the documentation all I need is to put a scheme in the app.json file which I have done:
Here is a snippet from the app.json:
"expo": {
"scheme": "myapp",
}
Then I use this in my authtnetication script:
Here is how I build my redirect URI:
import * as AuthSession from 'expo-auth-session';
export function StartupAutheticationScreen() {
const dropboxRedirURI = AuthSession.makeRedirectUri({path: 'Auth'});
console.log(dropboxRedurURI)
The console.log outptus "myapp://Auth", Is there something I am missing? Thanks again for all your help?
Здравко
3 years agoLegendary | Level 20
squidlauncher64 wrote:So it fails the first check. ...
In such case your application cannot be launched and that's why your browser "freezes". At that moment the browser does exactly what you did - tries open the same URI - unsuccessfully. To be honest, I'm not familiar with your environment and cannot say what exactly is wrong or if is what you say enough. The only fact is that, as seems (according your words), the application is NOT registered as a handler properly. You have to check and fix whatever needed. The only thing I would advise is to check if all parameters are available in end package (for example, in Android manifest have to be registered an activity with appropriate intent filter, that matches your scheme). That would be a good start point, for instance. 😉
Good luck.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!