Deep Linking is a technique in which a given URL or resource is used to open a specific page or screen on mobile. So, instead of just launching the app on mobile, using our deep link method can lead a user to open PAVE's PWA in their browser. When finished, they will be redirected to a specific page within your native app, providing a seamless mobile experience. This particular page or screen you provide as a redirect URL may reside under a series of hierarchical pages, hence the term "deep" in deep linking.
Replacing: API-KEY with the unique license-specific API-Key provided within the INTEGRATIONS tab of the PAVE Dashboard will generate a Session ID (case id). A new session id must be generated onthe server-side for each inspection case (ie for each vehicle being inspected). We recommend you store the session IDs since they'll be used to identify the final inspection output as well.
Path Parameters
Name
Type
Description
api-key
string
API - Key
Request Body
Name
Type
Description
redirect_url
string
The url you want to return to.
Launch PAVE Capture UI
Once you have the Session Key generated it can be used to launch the capture UI, which begins the inspection process.
Replace: SESSION-ID with the generated session-id belonging to the vehicle to be inspected.
Example:
Open links with Safari or chrome.
Android
IOS
React Native
Result
After PAVE Capture successfully and tap on CLOSE button, you will redirect to your app.
String url = "https://api.paveapi.com/v1/launch/TMV-B0R97T5QOD/";
try {
Uri uri = Uri.parse("googlechrome://navigate?url=" + url);
Intent i = new Intent(Intent.ACTION_VIEW, uri);
i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(i);
} catch (ActivityNotFoundException e) {
// Chrome is probably not installed
}
val url = "https://capture-dev.paveapi.com/home/TMV-B0R97T5QOD/"
try {
val uri: Uri = Uri.parse("googlechrome://navigate?url=$url")
val i = Intent(Intent.ACTION_VIEW, uri)
i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
startActivity(i)
} catch (e: ActivityNotFoundException) {
// Chrome is probably not installed
}