Closed RyanTG closed 1 year ago
Problem: when people submit locations and stuff (basically, when some emails are sent) we like to include user agent info; for iOS app users, the user agent automatically includes the app build number; but for Android users it does not.
Goal: pass the build number, so we can see it!
This would perhaps entail adding the build number to the header https://github.com/pinballmap/pbm-react/blob/master/app/config/request.js#L8
And then including that request here https://github.com/pinballmap/pbm/blob/master/app/controllers/application_controller.rb#L97
and request.headers["BUILD-VERSION"]
request.headers["BUILD-VERSION"]
https://github.com/pinballmap/pbm-react/commit/43f8f4babfe856cb14b7ba5174ae2b607538a81b
Instead of Build Number, I included app version number.
Problem: when people submit locations and stuff (basically, when some emails are sent) we like to include user agent info; for iOS app users, the user agent automatically includes the app build number; but for Android users it does not.
Goal: pass the build number, so we can see it!
This would perhaps entail adding the build number to the header https://github.com/pinballmap/pbm-react/blob/master/app/config/request.js#L8
And then including that request here https://github.com/pinballmap/pbm/blob/master/app/controllers/application_controller.rb#L97
and
request.headers["BUILD-VERSION"]