CruCentralCoast / CruiOS

iOS mobile app for Cru Central Coast. NOTE: The app has been decommissioned and this repo has been archived
1 stars 2 forks source link

FCM: Add device type #139

Closed fedorareis closed 7 years ago

fedorareis commented 7 years ago

Everywhere in the app that an FCM token is uploaded to the server a device type needs to be selected. The device type should be "iPhone". I don't know if it makes a difference but the field on the server is a Selection field. The three models that need this information are User, Ride, and Passenger.

fedorareis commented 7 years ago

After talking with @kyle-fletcher I am bumping this to critical and making it part of the 1.4 milestone. The Android app is almost ready for an initial release also and as such we will need to start handling push notifications based on device type. This means we need this data for all users and will be required sooner than later. Once the change is in place device type will be made a required field on the server per CruCentralCoast/Keystone#33