AnalogIO / coffeecard_app

Cross-platform coffee card app for Cafe Analog
https://www.cafeanalog.dk/app
MIT License
6 stars 1 forks source link

Listen to different MobilePay deeplink scheme based on app build (prod/dev) #495

Closed marfavi closed 1 year ago

marfavi commented 1 year ago

Issue: When I open a development build of the Analog app and complete a purchase via MobilePay, MobilePay opens up the production build of the Analog app that I also have installed. This should be fixable by letting the app listen to a different deeplink based on if the app is prod or dev.

In the same vein, the deeplink (that sends us to MobilePay) returned by our API should vary depending on the type of backend (production backend should return a deeplink to production MobilePay and ditto for development backend/MobilePay Sandbox).

Related https://github.com/AnalogIO/analog-core/issues/177