Comments (14)
Is it related too this?
from keep.
I've not worked with Electron before, but I am excited enough about this (Keep is one of my main go-to apps on Android for so many reasons!) that I hope to tinker and see if I can solve this issue. I imagine it's a common theme for Electron/Cordova/etc so I think it shouldn't be too hard to track down.
Cheers on the app altogether though, @tmcinerney! If I can integrate Keep with OS X keyboard shortcuts I'll be over the moon. Yes, I am a 200-year-old hipster who uses those hep cat thoughtwords, you crazy kids, you! (actually, I just never sleep and so am deliriously firing off messages into the void, but it's six of one and half a dozen of the other, right?)
from keep.
I believe this issue is still ongoing - I am not able to log in and get the same message as in the screenshot above from @glowmango.
from keep.
Hey @carmensandoval I don't actually use Google Keep anymore, but I thought a dependency bump might help.
I wasn't able to reproduce the issue y'all had, but would be able to test this beta release before I merge the code and release the updated application?
https://github.com/tmcinerney/keep/releases/tag/v2.0.0beta
from keep.
FYI ^^ @glowmango
from keep.
@tmcinerney tried your beta release as I'm seeing the same issue - no luck unfortunately. Same error as above.
from keep.
works now - not sure what changed!
from keep.
Doesn't work for me, I still get the above error on a brand new install of 2.0.0 beta
from keep.
Same here!
from keep.
from keep.
I've still not been able to replicate this. The Stack Overflow post linked above indicates an issue with the user agent.
Looking at the docs from menubar, it seems I can set the user agent for the load options, as described here.
I've updated the dependency bump PR to include the setting of the user agent.
I've built an updated version of the app and updated the beta release I linked before: https://github.com/tmcinerney/keep/releases/tag/v2.0.0beta
I tested the change using this site which displays the user agent.
I can see the following when simply setting it to Chrome
(which isn't a real user agent, and least when I look at the latest user agents as defined here).
The current version of Chrome on MacOS looks more like:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
When navigating to the user agent test page in Keep I can see mentions of Electron and the like:
from keep.
- Installed
keep
from Homebrew, encountered the same issue reported here. - Built from the beta release you linked above, encountered same issue.
- From this reddit thread, added line
loadUrlOptions: {userAgent: 'Chrome'}
in your main.js in theconst keep = menubar([...])
bit starting on line 6 and it's working now (for me).
Iunno anything about electron or javascript tho so ymmv.
from keep.
Just added the useragent attribute in index.html
webview tag and it's working for me now:
Line 10:
<webview autosize partition="persist:keep" src="https://keep.google.com" useragent="Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; AS; rv:11.0) like Gecko">
from keep.
@tmcinerney
Please change the application code in main.js to
const keep = menubar({
browserWindow: {
alwaysOnTop: true,
frame: true,
height: 700,
movable: true,
resizable: true,
width: 500
},
icon: path.join(__dirname, 'assets', 'IconTemplate.png'),
index: 'https://keep.google.com',
preloadWindow: true,
showDockIcon: true,
showOnAllWorkspaces: true,
tooltip: 'Keep'
});
keep.setOption('loadUrlOptions',{userAgent: 'Chrome'})
And rebuild the app.
Everything should work now. I have changed 'frame' option to true for ease in movability of application.
If anyone wants to
If anyone want then this is the app with changes written above: https://drive.google.com/file/d/1CJs2r15TC_6RnGDyLEfIW3eoOebh1mr8/view?usp=sharing
from keep.
Related Issues (12)
- Session not maintained on restart HOT 1
- Add configuration options
- Hide scrollbar HOT 1
- Add support for multiple accounts HOT 2
- Add copy/paste support HOT 1
- Feature request HOT 1
- Homebrew Cask Integration 🖥️ HOT 2
- Reduce CPU usage HOT 2
- Activate with keyboard shortcut
- Unable to launch the Electron app
- App window goes dark after launching
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 keep.