FogosPT / fogosmobile

Get notified about Portuguese wildfires with the Fogos.pt mobile app
https://fogos.pt
62 stars 14 forks source link

Open links fogos.pt/fogo/* on app #118

Open tomahock opened 4 years ago

tomahock commented 4 years ago

Not sure how to do it!

Vanethos commented 4 years ago

We can use Universal Links in iOS and App Links (iirc) in Android with this package: uni_links

When opening it, we open the detail, correct?

Vanethos commented 4 years ago

@tomahock we need to create:


    {
        "applinks": {
            "apps": [],
            "details": [
                {
                    "appID": "9JA89QQLNQ.com.apple.wwdc",
                    "paths": [ "/wwdc/news/", "/videos/wwdc/2015/*"]
                },
                {
                    "appID": "ABCD1234.com.apple.wwdc",
                    "paths": [ "*" ]
                }
            ]
        }
    }

https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html

These need to be hosted in the correct places

tomahock commented 4 years ago

When opening it, we open the detail, correct?

The detail or in the main map view. depends on the link.

@Vanethos smells like pull request 😇

Vanethos commented 4 years ago

I can surely make it! But I also need your help with it for the hosted files