Comments (2)
It turns out this is not the issue. What happened during the test was:
- Started ToDoLite Android with ForestDB from Android Studio. Logged in with Facebook and use the app.
- Closed the app from Android Studio. Change Storage Engine in
Application.java
to use SQLite. - In
build.gradle
, commented out the dependency tocouchbase-lite-android-forestdb
. - Rerun the app WITHOUT uninstalling the app (so facebook token still exists).
- When reran the app, the app did auto-login with the existing facebook token. As the token was still valid, the login process will not ask for the user's name from the facebook so the user's name will be null. Also we could assume that the user profile document should have already been created from the previous login.
- When the database was first open, as there was no forestdb library linked to the app, the upgrading from ForestDB -> SQLite (which should throw exception) process was skipped. Hence the new database with SQLite storage is newly created. Then the new user profile was recreated with null user's name.
from todolite-ios.
ToDoLite-Android can prevent this scenario by always checking if the user profile document exists or not, if not, it will need to request to facebook to get the user's name.
As of now, we can close this issue as no issue.
from todolite-ios.
Related Issues (20)
- Possible todolite-ios issue propagating deleted list items
- Old facebook sdk causes ToDo lite iOS fail to compile HOT 1
- Deleting a middle row task causes the task row below gone HOT 4
- List doesn't sync HOT 3
- Can't login back into app when facebook session expires
- App can create invalid documents that cause map function to throw HOT 1
- App needs trigger(going back to home screen and realunch) to sync/pull docs HOT 1
- Add view queries on the backend, sends notifications HOT 1
- Indicate when lists / items haven't been pushed up to sync gateway yet HOT 6
- Ability to purge documents
- Docs stop pushing, new tasks not showing, all lists are empty HOT 2
- Enable all logging HOT 1
- Add Google Sign-In support HOT 1
- App Crashes with iPad Sim. HOT 2
- Checkmark ui bug HOT 1
- Add Nuke Support HOT 1
- App crashes with iOS 10
- Handle blocking tasks added to unshared doc
- Do not allow deletes on unshared list
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 todolite-ios.