Comments (5)
You just need to remove the applicationIsUIAgent in the info.plist
from sol.
The main app window is hidden/closed by default. In the app delegate you probably need to call showWindow(). initialUrl will probably not work since that is thought for mobile apps where the app might be silently killed in the background, whereas for macOS sol will not work if it is not actually running.
from sol.
@ospfranco thanks! Where would you call showWindow()? You have that in the appDelegate at the end of the applicationDidFinishLaunching . Can't seem to get any URL data to feed into the app or to even trigger making it visible.
Makes sense re: initialURL use case being very different.
from sol.
I don't quite understand what you want, you should call showWindow wherever you are handling the notification. This is what the official documentation says for iOS:
I haven't built anything for the JS side to handle URLs yet. You seem to be going for the RN APIs, so calling showWindow is the first step to get the app to be visible, and then setting a listener with some of the RN APIs seems the way to go. The official documentation sets up this listener:
In any case, if you really want oauth then you are building this yourself from scratch
from sol.
Thanks @ospfranco ! Managed to resolve the issue so closing this. The initial code did work; it's just I had two versions of the app running with same URL scheme. I'll look into a way to get it working in the task bar to see the instances of the app running next :) Thanks again for your help!
from sol.
Related Issues (20)
- for last two (or more) versions sparkle update check results in `Update Error!` HOT 7
- Calculator in launcher HOT 3
- How to run it in dev mode? HOT 3
- How to close this app? HOT 2
- Extra features went missing after an update. HOT 3
- How do I stop Sol from disappearing in a test environment? HOT 2
- Fuzzy search HOT 4
- No source files HOT 1
- Is the Emoji Picker working? HOT 4
- Linux build HOT 2
- How to manage shortcuts HOT 4
- add option to not autostart Sol on launch HOT 7
- Persistent Clipboard History HOT 4
- website throwing 404 HOT 1
- no issue
- Find App that are symlinked HOT 1
- Cannot open Safari HOT 1
- 1.1.94 crashing - updater failing to replace app, crash soon after open after manual install, app not signed HOT 15
- Enabling notifications crashes the app HOT 5
- Linux support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sol.