Troubleshooting
Solutions to common issues with Clippr integration.
Deep Linking Issues
Links Open in Browser Instead of App
iOS:
-
Verify Associated Domains:
- Open Xcode → Target → Signing & Capabilities
- Check
applinks:yourapp.clppr.xyzis listed
-
Verify AASA file:
bashcurl https://yourapp.clppr.xyz/.well-known/apple-app-site-association -
Check Team ID matches:
json{"applinks":{"details":[{"appID":"TEAMID.com.your.bundleid"}]}} -
Delete and reinstall app (clears cached Associated Domains)
Android:
-
Verify intent filter:
xml<intent-filter android:autoVerify="true"> <data android:scheme="https" android:host="yourapp.clppr.xyz"/> </intent-filter> -
Check verification status:
bashadb shell pm get-app-links com.your.package -
Re-verify:
bashadb shell pm verify-app-links --re-verify com.your.package -
Verify assetlinks.json and SHA256 fingerprint
getInitialLink() Returns Null
Possible causes:
-
SDK not initialized: Ensure
Clippr.initialize()is called beforegetInitialLink() -
Already retrieved:
getInitialLink()only returns data once per install for deferred links -
No link clicked: User installed organically without clicking a link
-
Attribution window expired: Click was more than 72 hours ago
-
Different device: User clicked on one device, installed on another
Debug steps:
await Clippr.initialize(apiKey: 'KEY', debug: true);
// Check console logs for matching details
final link = await Clippr.getInitialLink();
print('Link: $link');
Low Match Rate
Causes:
- Long time between click and install
- VPN or proxy usage changing IP
- Users opting out of tracking
- Shared devices
Improvements:
- Initialize SDK as early as possible
- Request ATT permission on iOS
- Use Install Referrer on Android (automatic)
- Create links closer to conversion (shorter window)
SDK Issues
Initialization Fails
Check:
- Valid API key from dashboard
- Internet connectivity
- Correct SDK version
try {
await Clippr.initialize(apiKey: 'YOUR_KEY', debug: true);
} catch (e) {
print('Init failed: $e');
}
Events Not Tracking
- Verify SDK is initialized
- Check for errors in completion handler
- Verify internet connectivity
- Check rate limits (500/min for events)
try {
await Clippr.track('event_name');
print('Tracked successfully');
} catch (e) {
print('Track failed: $e');
}
Links Not Creating
- Check API key permissions
- Verify alias isn't already taken
- Check rate limits (30/min for link creation)
try {
final link = await Clippr.createLink(params);
print('Created: ${link.url}');
} catch (e) {
print('Create failed: $e');
}
Platform-Specific Issues
iOS: AASA Not Loading
-
Check URL directly:
bashcurl -v https://yourapp.clppr.xyz/.well-known/apple-app-site-association -
Verify content type: Should be
application/json -
Check for redirects: AASA must be served directly, not redirected
-
Use Apple's validator: search.developer.apple.com/appsearch-validation-tool
iOS: Tracking Permission Issues
ATT must be requested before Clippr can access IDFA:
import AppTrackingTransparency
ATTrackingManager.requestTrackingAuthorization { status in
switch status {
case .authorized:
print("Tracking authorized")
case .denied, .restricted:
print("Tracking denied - using fingerprinting")
case .notDetermined:
print("Not determined")
@unknown default:
break
}
// Initialize Clippr after permission is determined
Clippr.initialize(apiKey: "KEY")
}
Android: Install Referrer Not Working
-
Verify Play Store install: Install Referrer only works for Play Store installs
-
Check dependency:
kotlinimplementation("com.android.installreferrer:installreferrer:2.2") -
Test with actual Play Store: Debug installs from Android Studio don't have referrer data
Android: SHA256 Mismatch
Get correct fingerprint:
# Debug
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android
# Release
keytool -list -v -keystore /path/to/release.keystore -alias your-alias
If using Play App Signing:
- Get fingerprint from Play Console → Setup → App signing
- Add BOTH Play's signing key AND your upload key
Flutter: Platform Channel Errors
-
Clean and rebuild:
bashflutter clean flutter pub get cd ios && pod install && cd .. flutter run -
Check Swift/Kotlin versions match SDK requirements
-
Verify native project configuration
Dashboard Issues
Links Not Showing
- Check you're in the correct organization
- Verify app filter is correct
- Refresh the page
Analytics Not Updating
- Analytics may have up to 5-minute delay
- Verify SDK is sending events
- Check time zone settings
API Key Not Working
- Verify key is for correct app
- Check key hasn't been rotated
- Ensure using correct header:
X-API-KeyorAuthorization: Bearer
Getting Help
If issues persist:
- Enable debug mode to get detailed logs
- Check GitHub issues for similar problems
- Open a new issue with:
- SDK version
- Platform and OS version
- Steps to reproduce
- Logs and error messages