BoostIO / boostnote-mobile

Boostnote for iOS and Android 🚀
https://boostnote.io/
MIT License
816 stars 158 forks source link

Boostnote app Crashes when adding note to Dropbox. #185

Open wanizubair opened 6 years ago

wanizubair commented 6 years ago

Expected behavior

The app should be able to add note to Dropbox.

Actual behavior

The app is not able to add note to Dropbox. Add note to Dropbox doesn't work and is not able to adding note to Dropbox.

How to reproduce

Recording Of The Bug

https://youtu.be/AFbYyzyCyJE



Posted on Utopian.io - Rewarding Open Source Contributors

benwr commented 6 years ago

I have this same problem on Android 8.1.0

profedrini commented 6 years ago

same problem, android, 1,2,3 version here

mavensecurity commented 6 years ago

Boostnote v1.1.6. Same issue on iOS 11.2.6 for both iPhone 7 and iPad Pro. Linking to Dropbox appears to work since it does create the Apps/boostnote-mobile folder in Dropbox. But attempts to add a note cause boostnote to crash. I “rebooted” iPhone to try again. Still crashes. I uninstalled and reinstalled boostnote. Still crashes.

gzapico commented 6 years ago

Same here since last update, Android.

einaruk commented 6 years ago

Will there be an update for this? I am having the same issue.

mct-dev commented 6 years ago

Same problem here. Same steps to reproduce. Android 8.0.0

gynet commented 6 years ago

same issue

pajanne commented 6 years ago

Same issue here too, stoping my migration from evernote... I can see the boostnote-mobile folder in the Dropbox Apps folder but cannot create a note on my android phone v7.0. Did uninstall and install again the app to test but did not change anything.

foxmask commented 6 years ago

Hi, same behavior for me on an ASUS mobile with Android 7.1. I followed the steps here https://medium.com/boostnote/boostnote-mobile-how-to-synchronize-with-dropbox-95d845581eea

On the dropbox account, the folder that was created is "Applications/boostnote-mobile" and not "apps/boostnote-mobile", so in case, I renamed it to apps/boostnote-mobile and try again to add a note, but the app force close.

regards

RyanK1m commented 6 years ago

You should add "/Dropbox/Apps/boostnote-mobile" as a storage location on your desktop version of Boostnote, before connecting boostnote-mobile with Dropbox.

When press the add note button, boostnote-mobile trying to download boostnote.json file from path "/Dropbox/Apps/boostnote-mobile/boostnote.json" and iterate over that javascript object. boostnote-mobile crash when there's no boostnote.json file on that path, because there's no JSON object to iterate over.

Update: I missed one crucial step. Like @foxmask mentioned below, you should create a new folder after you set the storage location. Any folder name would be okay. (Your default folder when you first launch Boostnote desktop is "Default")

foxmask commented 6 years ago

thanks ! it's working. Boostnote need a new folder too in boostnote-mobile first of all Now it's ok for me many thanks

pajanne commented 6 years ago

Many thanks it is now working, but you have to follow all the steps here https://medium.com/boostnote/boostnote-mobile-how-to-synchronize-with-dropbox-95d845581eea as @foxmask suggested.

On my dropbox account the folder created was Apps/boostnote-mobile/ but I already had an Apps/ folder prior to install boostnote.

The two crutial steps to make it works for me are:

To keep the notes in synch, I need to refresh the desktop version as well as the mobile app, then it works like a charm.

Nevertheless, I do think the mobile app should be slightly more robust by handling errors and reporting them back to the user better than just crashing. Maybe if it cannot find boostnote.json, an error message could pop up, giving better clues on what's missing. Let me know if a new issue needs to be open.

IssueHuntBot commented 6 years ago

@kazup01 has boosted this issue with $150. Visit this issue on Issuehunt

IssueHuntBot commented 6 years ago

@nntai has started working. Visit this issue on Issuehunt

IssueHuntBot commented 6 years ago

@nntai has submitted output. Visit this issue on Issuehunt

IssueHuntBot commented 5 years ago

@kazup01 cancelled funding, $150, of this issue. Visit this issue on Issuehunt