GithubHelp home page GithubHelp logo

Comments (14)

purirohan avatar purirohan commented on May 27, 2024 1

Is it related too this?

from keep.

thynctank avatar thynctank commented on May 27, 2024

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.

carmensandoval avatar carmensandoval commented on May 27, 2024

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.

tmcinerney avatar tmcinerney commented on May 27, 2024

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.

tmcinerney avatar tmcinerney commented on May 27, 2024

FYI ^^ @glowmango

from keep.

purirohan avatar purirohan commented on May 27, 2024

@tmcinerney tried your beta release as I'm seeing the same issue - no luck unfortunately. Same error as above.

from keep.

purirohan avatar purirohan commented on May 27, 2024

works now - not sure what changed!

from keep.

davisstu avatar davisstu commented on May 27, 2024

Doesn't work for me, I still get the above error on a brand new install of 2.0.0 beta

from keep.

carmensandoval avatar carmensandoval commented on May 27, 2024

Same here!

from keep.

WillzyxandOnandOn avatar WillzyxandOnandOn commented on May 27, 2024

from keep.

tmcinerney avatar tmcinerney commented on May 27, 2024

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).

Screen Shot 2020-06-24 at 7 37 26 AM

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:

Screen Shot 2020-06-24 at 7 37 46 AM

from keep.

fossifus avatar fossifus commented on May 27, 2024
  • 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 the const 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.

oipablodias avatar oipablodias commented on May 27, 2024

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.

anothershubham avatar anothershubham commented on May 27, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.