-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specific development only for electron platform like web/android/ios #79
Comments
Electron platform is just web platform displayed inside Electron, so the platform is |
Thank for your answer, just to know if it was possible to do that (with same logical that .web, .android, .ios => .electron) |
Technically it's possible, but I don't know how to register the
Why don't you use
Is that true? I didn't have any problem with default |
Because I think that "react-navigation" have a better approach to mobile UI (Native design according to platform, respect of safe area, ...). "react-router-native" work but have a web approach.
If I use BrowserRouter only, in the Electron view I see the navbar but there is no action when I click on link (Router content doesn't change). And with BrowserRouter in web and HashRouter in Electron, it works.. |
Does it shows the navbar? It shouldn't... anyway, you should not touch the navbar at all... |
Yes there is the navbar but whatever the url (ex /first-page, /second-page, /third-page ,...), it's always the first screen define wich is display in the router content. |
Is there a way to do a specific development only for electron device ? Use file.electron.js and the object Platform.select({electron: .... }), same to .ios / .android / .web
Thansk in advance !
The text was updated successfully, but these errors were encountered: