NMF-earth / nmf-app

Understand and reduce your carbon footprint 🌱 iOS & Android.
https://nmf.earth
GNU General Public License v3.0
506 stars 156 forks source link

Deep linking - Open API to add an emission from another app in NFM.earth #101

Open PierreBresson opened 4 years ago

PierreBresson commented 4 years ago

Open NMF.earth to the world by providing a small api to add an emission in the NMF.earth app from any external app.

Could be something like :

let redirectUrl = Linking.makeUrl('add/emission', { name: 'Flight', value: 500, emissionType: 'custom' });

nmfearth:///add/emission?name=Flight&value=500&emissionType=custom

https://docs.expo.dev/guides/deep-linking/

Jeconias commented 4 years ago

You can assign it to me?