1.0.0 • Published 7 years ago
enterprise-app-plugin v1.0.0
Enterprise App Cloud Update
Checks for available updates on the Enterprise-App-Cloud
How to use
add the plugin to your project and call EnterpriseAppPlugin.checkForEnterpriseUpdates();
after the app has loaded.
Example for ionic project (file: app.component.ts):
import { Platform } from 'ionic-angular';
import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';
import { TabsPage } from '../pages/tabs/tabs';
declare var EnterpriseAppPlugin: any;
@Component({
templateUrl: 'app.html'
})
export class MyApp {
rootPage:any = TabsPage;
constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
statusBar.styleDefault();
splashScreen.hide();
EnterpriseAppPlugin.checkForEnterpriseUpdates();
});
}
}
1.0.0
7 years ago