Posts

Showing posts from September, 2019

IPA GENERATION(IOS)

Image
step1: open platforms->ios->OrangeRover.xcworkspace double click on OrangeRover.xcworkspace open xcode file. step2: double click on project folder open like this see below image.  step3:if you change bundle identifier name select info and find bundle identifier double click on value change the name. bundle identifier name starts with com.any.any like this. step4:open safari and open apple developer account. step5:open itunes login. click on itunes connect option click on account tab login with credentials. step6:generate certificate->click on finder->open applications->open utilities->open keychain access after enter apple developer account email save file in saved to disk and continue. and then empty page certificate saved in desktop.(saved file name like this CertificateSigningRequest.certSigningRequest). step7:add splash screen to app in xcode ->resources->click on cdvlaunchscreen.storyboard->select image from ...

how to update parent data after returning from modal in ionic4

async editstarttext ( type ) { console . log ( type ); const modal = await this . modalController . create ({ component: ModalalertPage }); let dataReturned ; //ondismiss parent page refresh modal . onDidDismiss (). then (( modalData ) => { dataReturned = modalData . data ; console . log ( dataReturned . dismissed ); this . ionViewWillEnter (); }); return await modal . present (); } close modal dismis (){ this . modalController . dismiss ({ 'dismissed' : true }); }

ionic4 app exit confirmation alert message and conditional routing

export   class   AppComponent   implements   OnInit ,  OnDestroy ,  AfterViewInit declare    backButtonSubscription :   any ; in implements required this three::: OnInit ,  OnDestroy ,  AfterViewInit ngOnInit () { }   ngAfterViewInit () {       this . backButtonSubscription  =  this . platform . backButton . subscribe (()  =>  {      this . presentAlertConfirm ();     });   } async   presentAlertConfirm () {      const   alert  =  await   this . alertController . create ({        header:   'Exit App?' ,        buttons:  [         {            text:   'Cancel' , ...