Ionic2openappService help you link in app.
$ ionic cordova plugin add cordova-plugin-inappbrowser
$ npm install --save @ionic-native/in-app-browser
$ ionic cordova plugin add cordova-plugin-appavailability
$ npm install --save @ionic-native/app-availability
$ ionic cordova plugin add cordova-plugin-device
$ npm install --save @ionic-native/device
Import the service into your app module.
import {Ionic2openappService} from "ionic2-openapp-service";
@NgModule({
declarations: [
MyApp,
HomePage
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp),
HttpModule
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage
],
providers: [
StatusBar,
SplashScreen,
Ionic2openappService,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
export class AppModule {
}
Call the method "launchExternalApp".
launchExternalApp(,)
this.Ionic2openappService.launchExternalApp('twitter','ofeijor');
Any pull-request and issue is more than welcome.