-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Associated Domains #164
Comments
This relates to #98. I started looking into it but I felt I really need to have a test domain under my control to verify it works before asking Tom Hughs about putting the required file on the OSM website. If you own a domain and want to experiment with it that would be great. |
Can you provide the team ID that you use for the app? With this information, we can then create the apple-app-association-file and submit a pull request for #98. After the pull request is merged, iOS users who have Go Map!! installed will be asked if they wanted to open it when choosing "Edit with Remote Control". Furthermore, we need to write a parser that can handle URLs like this and e. g. focuses on the entity:
|
I'd like to test the app with the apple-app-association-file before submitting the pull request. |
The team ID is MKTTC6734C |
Thanks for the update! Here's the {
"applinks": {
"apps": [],
"details": [{
"appID": "MKTTC6734C.com.bryceco.GoMap",
"paths": ["/edit"]
}]
}
} TestingIn order to test this, upload the JSON to the
You now need to add your domain to the list of Associated Domains in the Capabilities of the "Go Map!!" target. For debugging, add the URL to the "John Appleseed" contact in the address book. Here's an example of the URL: Save, and then tap on the homepage. Instead of opening Safari, "Go Map!!" should be launched. Things to keep in mind while testing
Next stepsAfter successful testing, we'll need to
|
Since the Universal Link is not set up for this domain (cp. bryceco/GoMap#164), this entitlement is not needed. Removing it also gets rid of the error in Xcode when selecting "Automatic Signing", where it complains that this entitlement is not set up.
This is fixed in eb539ac To test you can click on this link: |
Neat! Has this also been added to openstreetmap.org, so that mappers can open GoMap from the original OSM page? |
Not yet, not until it's in the App Store version. |
Is the "Associated Domains" feature working properly?
In the documentation, Apple states:
The domain that is entered as an associated domain is openstreetmap.org. But neither in the .well-known directory nor in the root directory the
apple-app-site-association
file is available.This leads me to believe that the feature does not work at the moment. Or am I missing something here?
The text was updated successfully, but these errors were encountered: