@linkforty/core 1.45.3 → 1.45.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -101
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -146,93 +146,16 @@ Core runs anywhere you can run a container with PostgreSQL 13+ (Redis is optiona
|
|
|
146
146
|
|
|
147
147
|
## Mobile SDK Integration
|
|
148
148
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
2. **Configure in Xcode:**
|
|
160
|
-
- Add "Associated Domains" capability
|
|
161
|
-
- Add domain: `applinks:yourdomain.com`
|
|
162
|
-
|
|
163
|
-
3. **Verify AASA file:**
|
|
164
|
-
```bash
|
|
165
|
-
curl https://yourdomain.com/.well-known/apple-app-site-association
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
Expected response:
|
|
169
|
-
```json
|
|
170
|
-
{
|
|
171
|
-
"applinks": {
|
|
172
|
-
"apps": [],
|
|
173
|
-
"details": [
|
|
174
|
-
{
|
|
175
|
-
"appID": "ABC123XYZ.com.yourcompany.yourapp",
|
|
176
|
-
"paths": ["*"]
|
|
177
|
-
}
|
|
178
|
-
]
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
### Android App Links Setup
|
|
184
|
-
|
|
185
|
-
1. **Get your SHA-256 fingerprint:**
|
|
186
|
-
```bash
|
|
187
|
-
# Debug keystore
|
|
188
|
-
keytool -list -v -keystore ~/.android/debug.keystore \
|
|
189
|
-
-alias androiddebugkey -storepass android -keypass android
|
|
190
|
-
|
|
191
|
-
# Release keystore
|
|
192
|
-
keytool -list -v -keystore /path/to/release.keystore \
|
|
193
|
-
-alias your-alias
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
2. **Set environment variables:**
|
|
197
|
-
```bash
|
|
198
|
-
ANDROID_PACKAGE_NAME=com.yourcompany.yourapp
|
|
199
|
-
ANDROID_SHA256_FINGERPRINTS=AA:BB:CC:DD:...
|
|
200
|
-
|
|
201
|
-
# Multiple fingerprints (debug + release)
|
|
202
|
-
ANDROID_SHA256_FINGERPRINTS=AA:BB:CC:...,DD:EE:FF:...
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
3. **Configure in AndroidManifest.xml:**
|
|
206
|
-
```xml
|
|
207
|
-
<intent-filter android:autoVerify="true">
|
|
208
|
-
<action android:name="android.intent.action.VIEW" />
|
|
209
|
-
<category android:name="android.intent.category.DEFAULT" />
|
|
210
|
-
<category android:name="android.intent.category.BROWSABLE" />
|
|
211
|
-
<data android:scheme="https" />
|
|
212
|
-
<data android:host="yourdomain.com" />
|
|
213
|
-
</intent-filter>
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
4. **Verify assetlinks.json:**
|
|
217
|
-
```bash
|
|
218
|
-
curl https://yourdomain.com/.well-known/assetlinks.json
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
Expected response:
|
|
222
|
-
```json
|
|
223
|
-
[
|
|
224
|
-
{
|
|
225
|
-
"relation": ["delegate_permission/common.handle_all_urls"],
|
|
226
|
-
"target": {
|
|
227
|
-
"namespace": "android_app",
|
|
228
|
-
"package_name": "com.yourcompany.yourapp",
|
|
229
|
-
"sha256_cert_fingerprints": ["AA:BB:CC:..."]
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
]
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
### Available Mobile SDKs
|
|
149
|
+
Core serves the verification files for iOS Universal Links and Android App Links. Set these environment variables and it generates them at `/.well-known/apple-app-site-association` and `/.well-known/assetlinks.json`:
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
IOS_TEAM_ID=ABC123XYZ
|
|
153
|
+
IOS_BUNDLE_ID=com.yourcompany.yourapp
|
|
154
|
+
ANDROID_PACKAGE_NAME=com.yourcompany.yourapp
|
|
155
|
+
ANDROID_SHA256_FINGERPRINTS=AA:BB:CC:DD:... # comma-separated for more than one
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
See [iOS Universal Links](https://docs.linkforty.com/guides/attribution/sdk-integration#ios-universal-links) and [Android App Links](https://docs.linkforty.com/guides/attribution/sdk-integration#android-app-links) for the app-side setup.
|
|
236
159
|
|
|
237
160
|
| Platform | Package | Install |
|
|
238
161
|
|----------|---------|---------|
|
|
@@ -244,20 +167,6 @@ LinkForty Core supports iOS Universal Links and Android App Links for seamless d
|
|
|
244
167
|
|
|
245
168
|
See the [SDK documentation](https://docs.linkforty.com/sdks/react-native) for integration guides.
|
|
246
169
|
|
|
247
|
-
### Testing Domain Verification
|
|
248
|
-
|
|
249
|
-
Test iOS Universal Links with Apple's validator:
|
|
250
|
-
```bash
|
|
251
|
-
https://search.developer.apple.com/appsearch-validation-tool/
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
Test Android App Links with Google's validator:
|
|
255
|
-
```bash
|
|
256
|
-
adb shell am start -a android.intent.action.VIEW \
|
|
257
|
-
-d "https://yourdomain.com/test"
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
|
|
261
170
|
## For AI Tools (llms.txt)
|
|
262
171
|
|
|
263
172
|
LinkForty provides machine-readable documentation for AI coding assistants (Claude, ChatGPT, Cursor, Copilot).
|