skiser / Routinely

Senior Design Project Fall 2019
0 stars 1 forks source link

Bryan's Journal #2

Open skiser opened 5 years ago

bsoto35 commented 5 years ago

Began research on react native by making a test application Discussed UI designs with how we should be progressing with our work moving forward Started research on login authentication with facebook and found an easy way to integrate login as well as other helpful developer tools that we could use for our application into the future https://developers.facebook.com/docs/facebook-login/overview

bsoto35 commented 5 years ago

Took time to look over old notes from CS320 and was able to figure out our use cases with Phil and laid out how our database is going to look Sam and I then worked on our UML based off our Use Cases Have a good idea of what our UI is going to look like now

bsoto35 commented 5 years ago

Had to redo the project to make it a stable working system because it was broken due to how we ran react-native init. Took the time to fix up Chase's and Sam's system, though Sam is still having trouble with her xcode. Afterwards I began work with trying to mock up a login page. Looked more into Facebook login, however after further research it would seem that to sign up for app review, the project must be nearly complete and due to how extensive the app review is, Phil and I have agreed to just work with Google authentication for the time being. Connected firedatabase to my app and worked with phil to provide some documentation for setup.

bsoto35 commented 5 years ago

This week i was trying to connect the database to our app. I was attempting to be able to navigate between screen while carrying information. However through many many hours of trying to get it properly configured, i have gotten the same error everytime with no luck in getting close to fixing it. I watched numerous videos and read about it as much as I could. I will continue to troubleshoot this problem and after this we will start working on other tables we will need to add to the database

bsoto35 commented 5 years ago

I finally figured out how to connect to firebase within our app. There was an update that just released last month that completely changed how react native connects to firebase and how the actual packages are managed for it. Firestore however has been giving me a problem due to authentication issues I tried to create a small page to add messages from firestore, and right now we're just having a problem getting the authentication passed from google sign in to firebase authorization

bsoto35 commented 5 years ago

implemented test cases using jest but there were errors with the new version of react native, so we have to find a work around for these which we've found some documentation for. Fixed up our task page to correctly add and retrieve data from the database. Helped chase to do the same for the events in calendar and we got everything to work together

bsoto35 commented 5 years ago

I worked with Sam to add to the firestore database correctly so that the events and tasks are added to the collection with the specific user logged in. I have also been trying to separate the firestore calls from the task page itself but have had some troubles with accessing class functions for that. Ive also been looking into firestore emulator for testing. This week i hope to get the tasks page working and looking nice and to incorporate the emulator into our project

bsoto35 commented 5 years ago

This last week I worked with Sam again to implement a listener to retrieve information from firestore and display it as somebody adds a new document to firestore. With that we also were able to get marked dates to work properly as well so that it showed on our calendar what days there were events. After that I was able to do the same for the tasks page, but i had some trouble to get it to display properly while on the same screen. I tried to incorporate a refreshing function so that the page would refresh on add but this caused multiple errors and i ultimately had to scrap the idea.

bsoto35 commented 5 years ago

This week was a heavy work week so I was not able to accomplish as much as I wanted. However, I was able to work with Sam to figure out how to delete an event and we tried to get an event editable. Right now we have minor issues with it but after having a good understanding I will do the same for our tasks page.

bsoto35 commented 5 years ago

I completely forgot to put something in earlier but i was able to fix up our task page this week as well as get everything rendered onto our calendar page. I was able to sort our events by their date and display them by the day of the week. I made sure our swipe to delete worked across all our notifications so far and have an alert to display as a way to confirm if the user really wants to delete it. also worked on edit but came into some trouble getting it to edit correctly. Setup test cases for alarm, event, and notes page but there was not much to test. this week im going to try and sort each notification by their date on our calendar page as well a try to work with a news api to add to our list of notifications

bsoto35 commented 5 years ago

Started working on implementing news onto our platform. I registered for the newsapi.org API to receive the latest news from a bunch of news stations and I made a new page so you can choose whether you want the top headlines, headlines by date, or headlines by source and choose when you want to get an update for one of these.

bsoto35 commented 5 years ago

Got the top headlines to successfully be displayed on a news page. This will also be put up onto our main calendar for easy access for news. Was able to add a bit of structure to the code so i separated it into services, components, and screens. This makes the code easier to read so i will try to set it up for the rest of the project as well as adding some comments. I'll also be updating all our unit tests.