[Android/iOS] How to test Deep Link and Custom URL Scheme in development environment
I’ll introduce how to test Deep Link and Custom URL Scheme for Android and iOS apps in a development environment.
URL schemes like example://action are called Deep Link on Android and Custom URL Scheme on iOS.
Create a file like the following at ~/Documents/url_scheme/index.html.
example://action?id=yoW4Sei3
cd ~/Documents/url_scheme/
python -m SimpleHTTPServer 8000
Start ngrok specifying Port 8000 as follows:
ngrok http 8000
If you haven’t used ngrok before, please refer to ngrok インストール、公開URL確認方法 [macOS 編].
Screenshot when testing on Android Emulator:
Screenshot when testing on iOS Simulator:
That’s all from the Gemba, where we want to test Deep Link and Custom URL Scheme for Android and iOS apps in the development environment.