I'm really sorry if this question has already been asked.
I created an ionic app that I published on the Apple Store (and Play Store) some time ago.
I will would like to recreate this app using the latest version of ionic. Is it possible ?
Indeed, when I do a simple:
ionic cordova platform rm ios && ionic cordova platform add ios && ionic cordova prepare ios
Even if config.xml same as previous application, I cannot upgrade existing application on Apple Store. Can you explain to me how to do this?
Do you have the list of files I need to keep?
Thank you so much
PS: I prefer to recreate an application with ionic rather than trying to fix compilation problems that have nothing to do with my javascript code.
Related
I am doing ionic application with capacitor.
I have to use https://ionicframework.com/docs/native/themeable-browser plugin for one funcationality but when I make build and upload to apple store app is rejected because of UiWebView issue.
Commands for installing themeable plugin
npm install cordova-plugin-themeablebrowser
npm install #ionic-native/themeable-browser
ionic cap sync
If I remove that plugin and upload it to apple build process pass successfully.
Apple no longer accepts new submissions using UIWebView:
https://forums.developer.apple.com/thread/122114
There is also an Ionic blog article: https://ionicframework.com/blog/understanding-itms-90809-uiwebview-api-deprecation/
You can use Capacitor's Browser API, but it is quite limited compared to some existing Cordova plugins. However it is built around WKWebView and is therefore compliant.
There is AFAIK no alternative but to move to WKWebView if you want your app to be on the Apple App Store.
I assume you are using Themeable Browser instead of InAppBrowser because you need to customize the toolbar and other components. Unfortunately Themeable Browser is no longer a supported project. In InAppBrowser version 5.0.0 https://cordova.apache.org/announcements/2021/02/16/inappbrowser-release-5.0.0.html only uses WKWebView and you can now set InAppBrowserStatusBarStyle to "darkcontent". Unfortunately, other changes have to be applied manually. I succeeded for Android and I fight for Ios :-)
I am trying to install ionic DevApp in my android lollipop version. But I am not finding the app in play store.
Seems like it was removed from the Google playstore, meanwhile you can use the latest version that was available in the store:
https://apkpure.com/ionic-devapp/io.ionic.devapp
This is because Ionic is now focusing on native-tooling and has now moved to Capacitor, therefore Ionic DevApp is no longer maintained thus it's removed from the app stores, not completely for iOS if you've installed it before
To go around this, search it's APK file from google.
Or for iOS go to App Store > Your Profile Avatar > Purchased, look for Ionic DevApp then re-install it (it will be there only if you installed it before).
Am confused to start a project in ionic on which version?
Before answering this please check date of the question asked.I dont want to make it a long tread
As stated here and here:
The 5.0.0 is only for the CLI commands, NOT the framework itself. Ionic team gives you commands like start and generate which are wrappers on the angular CLI commands. This update doesn’t not affect your apps
The update should not affect your mobile app building.
UPDATE 04/2020
Version 5 of the ionic framework has been released. You can find all the information regarding the new version here and here.
Ionic version 5.0.0-beta.1 still, in the Pre-release stage, I think they planned to release this version at the beginning of the new year.
you can read more about ionic releases and versions in their repo here
Problem
When I release a new version to the production channel in Ionic Pro Deploy (Channels) then I have to cycle my app twice in order to get the latest version. Even worse, on the first cycle my app reverts back to a far earlier version for some reason.
What I mean by cycling is, starting from a state where the application is shut down and not open, I open the app, wait for the splash screen to go away and app to be ready, and then close the app.
Question
How do I get my app to download the latest version on the very next time I open the Ionic app following my production release?
Plugin configuration
I used the plugin config from the dashboard.ionicjs.com page:
cordova plugin add cordova-plugin-ionic --save \
--variable APP_ID="[myappid]" \
--variable CHANNEL_NAME="Production" \
--variable UPDATE_METHOD="background"
Execute the command you already showed but set UPDATE_METHOD to "auto"
If you wand more control over your updating methods have a look at this:
https://ionicframework.com/docs/pro/deploy/plugin-api.html
In my case, live deploy worked correctly on a "blank" Ionic project. Live deploy also worked correctly on "my" app on iOS but not on Android.
I followed the follow steps and successfully fixed Android. However, during this process iOS suddenly had the same problem (would apply update on app install/close/open).
Set versions as per Ionic support. IonicPro live deploy currently requires these versions. Ionic are in the process of fixing this dependency:
"cordova-plugin-ionic-webview": "1.1.19",
"cordova-plugin-ionic": "4.1.7",
Install a new version of "blank" project. Update my app to use the same npm plugin versions (some of my app plugins were old).
Remove/add android platform. My hunch is this is what ultimately resolved the issue.
I wanted to try a remove/add ios platform to see if that also resolved the issue on iOS. But it was less work to ultimately switch over to IonicPro rather than re-config the local build setup.
Live deploy worked correctly on both iOS and Android after creating binaries in IonicPro.
I am new to ionic framework. I need help for development with ionic. Please suggest me the necessary software to be installed on local computer for developing ionic app. I also need the software for emulating the app on AVD. And deploying the app on mobile.
All the questions you are asking, and more, are answered on ionic framework getting started page.
If you have a problem with a specific step, you should ask a specific question about it.
Next time please first start with searching by yourself but anyways:
Install NodeJs
Install Ionic with Ionic CLI:
npm install -g ionic cordova
then start your Ionic Projekt with
ionic serve
And to test your App on AVD use Genymotion.
Or just use Ionics DevApp for Android & iOS.
Or publish your App as APK or IPA like explained here