I added a mapNow folder which now goes to new start screen coded in mapNow, no links for there work currently.
Also got static 8 buttons in place (not connected to fxn), so select dropdown not right, need plugin
In Version18 Group creation working to write - UID, group name, description, ~privacy, ~date. Storing privacy
but as any string and should be controlled dropdown or 0-1. Date is a string and doesnt make sense so need to fix.
Group component has 'id' which I can maybe drop. Need to add a new page to add members to group, also view groups.
In Version21 - writing to User (cap U). Also writing admin when creating a new group. Also changed date to datInMilliseconds
and plan to have similar for user. Hardcoded open into uesr group privacy, fix in spring. Add admin itoken as member,
need to make array and include uesrId. TODO - for user I will have dobYYYY, dobMM, dobDD, and then concatenate them and use
as current user, but should add (push?) current user to add to admins OR fail if group already exists probably.
In Version23 - added userId in 'users' to match Firebase login with SMAE uid, also got fields inputting in user - need to fix quotes.
In Version24 - started to get datePicker working, dobYYY, dobMM, dobDD stored in FB, but not concat as date.
3.1) Start/Stop record users current GPS, write to FB (prob NOT geofire, use NS every 1min ... testAlphaMode=every5sec) *** need ***
3.3a)users - eventUID:[total (dist, time, avg heartrate, avgspeed), per lap (times, hearrate, maxSpeed, minSpeed), place finishing ???]
- update historical average (month, lifetime) <--- better? to have DB process do this nightly *unless dashboard using immediately)
3.3b)group - eventUID:[grpTotal (dist, time, avg heartrate, avgspeed), grpPerLap (time(ms), heartrate, maxSpeed, minSpeed), place finishing ???
3.3c)event - eventUID: groups, totDist, results:[1st:[userUID,username,fName,lName],2nd:userUID[userUID,username,fName,lName]
This codebase is a demo to show how to use Angular 2 with NativeScript and Firebase to create a mobile app for holiday wish-list management.
- Using the Firebase Authentication module, register, log in, and manage your password.
- Using the Firebase Realtime Database, manage data flow (create, edit, and delete).
- Using Firebase's Remote Config service, send messages to your app
- Using the Storage Bucket that comes with your Firebase account, save photos of your gifts!
Read the article, forthcoming on various blogs