Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Custom URL Schemeのルーティング設定
// ...省略
import { Deeplinks } from '@ionic-native/deeplinks';
templateUrl: 'app.component.html'
export class AppComponent {
constructor(platform: Platform,
// ...省略
private deeplinks: Deeplinks,
private httpService: HttpService) {
platform.ready().then(() => {
// WebサイトでCustom URL Schemeをタップした時のルーティング設定
// AppComponentに遷移する
'/home': AppComponent
}).subscribe((match) => {
console.log('Success', match);
}, (nomatch) => {
console.log('Error', nomatch);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.