I am new to app development and have been using the ionic framework to build my app. I am ready to publish, and want to use ionic deploy, as it seems efficient.
My question is do I need to upload my app to Apple/play store before I can use Ionic deploy, or can I use ionic deploy when publishing for the first time?
You must first publish and release your app using the standard store process, here is a good guide to help with it.
Then you can use Ionic Deploy for subsequent deployments / releases.
Related
I have built a flutter app and i want that our testers will test the app through internal testing in google play using the test database and test api url.
This is doable but it has a drawback. In google play, you can actually use the same build that was published in internal testing to be published as a release version. Since I am using a test database and api on the build, i have to change the settings to use live version and build the apk and upload it again to google play to do so. So whenever i want to have a new release, i need to submit atleast 2 builds.
Do you think this process is proper? If not, do you have any recommendation on how i can share the app to my testers that uses test environment. I have done things like sharing apk manually on microsoft teams but it doesn't feel like the right thing to do according to me.
Well, the best approach would be to create a new flavor for your dev environment instead of just building with differentet variables. Then you can create a new app at appstore named "yourapp dev" with different bundle id, e.g com.yourapp.app.dev and upload your dev builds to internal track of the new dev app. If you don't want to create a new dev app to playstore for distributing, you can also use firebase distribution to share your apk/ipa.
I Develop a flutter application, I am a Windows user. I don't have a MacBook, so is there any way to publish the flutter app on the app store using windows?
You can't build or publish iOS from Windows or any other system except MacOS. If you have no mac take a look at cloud services that can dedicate one to you (e.g. MacStadium). CI/CD services like CodeMagic, AppCenter is an option too, it is more suitable for small or pet projects when you don't need to build iOS often.
Is there a way to use Ionic Appflow to build and non-Ionic Framework project just using Capacitor?
Cause a on a blog by Ionic it said:
Appflow is the official Mobile DevOps platform built
by the Ionic team, focused on bringing powerful Mobile DevOps
workflows to hybrid app developers across Capacitor and Cordova
whether or not they are using Ionic Framework.
Link to the blog
Ionic Framework (the UI library) is not required.
However, as of today, Appflow requires an Ionic config file and a package.json file. See that link for details (ignore the rest of that guide). If you're building a modern web app, you'll likely have a package json already. for the ionic config, just create it manually but for "integrations" swap in "capacitor".
You'll also use the Ionic CLI for some of the configuration (like "ionic deploy" as you shared).
I have an ionic app build on my system.
For now, I have been testing my app using Ionic DevAPP (which can be found on the App Store and Google Play).
Prerequisite to run an app on my mobile device using Ionic DevApp is, My app needs to be up and running using the command:
ionic serve
This option looks great when doing development.
But now, I have my app build and I want to share it with the testing team and PO who is located on shore.
I want to know is there any way or free platform where the users can run an app on their mobile devices directly without starting a dev server.
NOTES:
I know about Ionic dashboard, but it is not free when comes to sharing builds.
I don't want to upload my app on Play Store or Google Play.
Any help is recommended as I am really looking for options to share my app.
I use Diawi To share both apk and ipa, bypassing play/app stores.
I am switching my Ionic 3 application to use Capacitor. Is the a way to build the application for production using, as we did before, something like --prod?
Short answer:
In your case, run ionic build --prod, then npx cap copy and finally build the app for production in the native IDE.
Detailed answer:
This is how the Capacitor app development workflow works:
Build the web application
Run npx cap copy
Build the app in the native IDE
Building the web application happens completely separated from Capacitor. You could use any framework in the development process. What only matters is that the builded application is located in the www folder. Using Ionic, you can perform a production build by running ionic build --prod.
Afterwards, Capacitor comes to place and copies the web application in the native IDE projects, where you can perform an app build. Some platform-specific extra settings / steps are required to make the app production ready, but this again doesn't have to do with Capacitor.
Just an update:
In Ionic 4:
To do production build try this below command:
npx ng build --aot=true --configuration="production"
and do
npx cap sync
Hope it helped.