This repository contains two essential configuration files within the src
folder: apple-app-site-association
and assetLinks.json
. These files are used to enable Universal Linking for the peanut.to domain, allowing users to seamlessly transition from a website to a mobile application.
To enable Universal Linking for your mobile application on peanut.to, you can make a Pull Request (PR) to this repository. Here's what you need to do:
The apple-app-site-association
(AASA) file must be updated with the teamId
and bundleId
of your mobile app. You can find these values in your app's settings. Follow these steps:
-
Find Your
teamId
:- Go to your Apple Developer Account.
- Navigate to "Membership."
- Your
teamId
can be found under the team name.
-
Find Your
bundleId
:- In your Xcode project project, locate the app's bundle identifier. It usually follows a format like
com.companyname.appname
.
- In your Xcode project project, locate the app's bundle identifier. It usually follows a format like
-
Update the AASA File:
- Edit the
apple-app-site-association
file in this repository. - make a new entry with the
teamId
andbundleId
fields with your own values. - Save the file.
- Edit the
The assetLinks.json
file must be updated with the package name and SHA256 fingerprints of your mobile app. You can find these values in your app's settings. Follow these steps:
-
Find Your Package Name:
- For Android, the package name is specified in the
build.gradle
file.
- For Android, the package name is specified in the
-
Find Your SHA256 Fingerprints:
- Generate SHA256 fingerprints for your app's signing certificate(s).
-
Update the assetLinks.json File:
- Edit the
assetLinks.json
file in this repository. - make a new entry with the
"package_name"
and"sha256_cert_fingerprints"
fields with your own values. - Save the file.
- Edit the
-
Fork this repository to your GitHub account.
-
Clone your forked repository to your local machine:
git clone https://github.com/your-username/universal-linking-config.git
-
Create a new branch for your changes:
git checkout -b feature/your-feature-name
-
Make the necessary updates to the AASA and assetLinks.json files.
-
Commit your changes:
git add . git commit -m "Update AASA and assetLinks.json for my mobile app"
-
Push your changes to your forked repository:
git push origin feature/your-feature-name
-
Create a Pull Request from your forked repository to this repository.
Once your PR is reviewed and accepted, Universal Linking will be configured for your mobile application on peanut.to.
For more detailed information and troubleshooting tips, please refer to our Universal Linking Documentation.
If you have any questions or need assistance, feel free to reach out to us in our Discord.