## Introduction
This documents aims at app-testers and provides a subset of supported deeplinks that are intended to be used to test the apps deeplinking focuntionallity.
**Table of Conents**
[toc]
## General Deeplinks
### Home Screen
π http://app.nextbike.net
Should open the app (in the state / with the screen open where it was left before).
π https://app.nextbike.net
Should open the app (in the state / with the screen open where it was left before).
### Shortlinks
π https://nxtb.it/app
Just opens app. if app is not installed, opens Play Store / App Store.
π https://nxtb.it/rentals
Expected error: Bike not found.
π https://nxtb.it/b/999913
Show the bike
### App-Specific Deeplinks
π https://meinrad.nextbike.app/bike/558998
Opens the bike in the meinrad app
### Custom App Schema
:::warning
β οΈ Note: These links only work on the device if the app is already installed.
:::
π [nextbike://app/inbox](nextbike://app/inbox)
Opens the inbox of the app.
π [nextbike://app/tariff/9493](nextbike://app/tariff/9493)
Opens the tariff
π [meinrad://app/payment](meinrad://app/payment)
Opens the payment screen in the Meinrad Mainz app
### Onboarding
π https://app.nextbike.net/login
Should open the login screen if logged out. If logged in, show home screen.
π https://app.nextbike.net/register
Should open the register screen if logged out. If logged in, show home screen.
π https://app.nextbike.net/recover
Should open the recover screen if logged out. If logged in, show home screen.
Map
π https://app.nextbike.net/station?number=4034
Should open station 4034 Galopprennbahn.
π https://app.nextbike.net/station?id=16337
Should open station 4024 Hauptbahnhof/LVB-MobilitΓ€tszentrale.
### News
π https://app.nextbike.net/news/18123/
If user of SK brand, should show Test news article. If not, expect error βNews not found or not available in the current languageβ.
π https://app.nextbike.net/news/0814
Expect error βNews not found or not available in the current languageβ.
## User specific deep-links
:::warning
β οΈ From here on, all deeplinks require a logged in user. If the user is not logged in, the login screen should open.
:::
### Renting
π https://app.nextbike.net/rentals
Should open the rental activity screen.
π https://app.nextbike.net/rental/121242293/
Should open a finished rental or if the rental was not found the rental history.
π https://app.nextbike.net/rental/14322
Should open a finished rental or if the rental was not found the rental history.
π https://app.nextbike.net/rent
Should open the the QR code scanner.
π https://app.nextbike.net/bike/999917
Should open the rental screen of bike 999917.
### Problem-Reporting
π https://app.nextbike.net/feedback
Should open the screen to choose which feedback to provide.
π https://app.nextbike.net/feedback/message
Should open the screen to send a message to customer service
### Settings
https://app.nextbike.net/settings
Should open the settings screen.
[nextbike://app/settings](nextbike://app/settings)
Should open the settings screen.
π https://app.nextbike.net/payment
Should open the payment screen. When performing a back gesture/action, the settings screen should become visible.
### Wallet / Tariff / Partner
π https://app.nextbike.net/wallet
Should open the wallet screen.
π https://app.nextbike.net/wallet/add
Should open the screen with available subscriptions and partners. When performing a back gesture/action, the wallet screen should become visible.
π https://app.nextbike.net/tariff/3672
For a SK customer: should open the tariff details. When performing a back gesture/action, the wallet screen should become visible.
π https://app.nextbike.net/partner/54
For a SK customer: should open the partner details. When performing a back gesture/action, the wallet screen should become visible.
π https://app.nextbike.net/partner/123
Expect error message that partner was not found.
π https://app.nextbike.net/tariff/9493
Shows Hannover Montly tariff.
π https://app.nextbike.net/voucher?code=peggy
Should open the voucher screen with a prefilled voucher code.
[nextbike://app/voucher?code=peggy&foobar](nextbike://app/voucher?code=peggy&foobar)
Should open the voucher screen with the prefilled voucher code "peggy".