App integration
Android
URI Schema
URI | Description |
---|
tamperecitybike://stations | Opens the map view |
tamperecitybike://stations/{station-id} | Opens the map view with the station matching the station-id selected |
tamperecitybike://trips | Opens the trip history view |
tamperecitybike://profile | Opens the profile view |
tamperecitybike://vehicle?code={code} | Opens a vehicle for quick unlock |
Testing deep links from the command line on Android:
adb shell am start -W -a android.intent.action.VIEW -d tamperecitybike://trips
Testing deep links from your app code as an implicit intent on Android:
Intent tripsIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("tamperecitybike://trips"));
this.startActivity(tripsIntent);
iOS
URI Schema
URI | Description |
---|
tamperecitybike://stations | Opens the map view |
tamperecitybike://stations/{station-id} | Opens the map view with the station matching the station-id selected |
tamperecitybike://trips | Opens the trip history view |
tamperecitybike://profile | Opens the profile view |
tamperecitybike://vehicle?code={code} | Opens a vehicle for quick unlock |
Universal/App Links
The deep links documented here are also supported as universal links. To use universal links, replace the deeplink prefix
tamperecitybike://
with the universal link prefix instead:
https://app.tampere.onurbansharing.com
For example, opening trips via universal link would be:
https://app.tampere.onurbansharing.com/trips