Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Data Service class instead of db collection direct access #3

Merged
merged 1 commit into from
Jul 11, 2020

Conversation

cupnoodle
Copy link
Collaborator

@cupnoodle cupnoodle commented Jul 10, 2020

Use Data Service class instead of db collection direct access

This should fix some nil error crashes due to nil value of uid in Data Service. Refering to #2

I suggest to use DataService.instance.bodhi_collection (or other collection name) when you want to read/write to the collection.

@ShinboJosephHall You can try switch to this branch using SourceTree and test it on your iPhone or Simulator, let me know if the crash issue still occurs when user sign up/ sign in / logout

Use Data Service class instead of db collection direct access
@ShinboJosephHall
Copy link
Contributor

ShinboJosephHall commented Jul 11, 2020 via email

@ShinboJosephHall ShinboJosephHall merged commit 34cb2b4 into master Jul 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants