How to Force Update Ionic Apps

  Рет қаралды 24,950

Simon Grimm

Simon Grimm

Күн бұрын

Пікірлер: 81
@TheSaceone
@TheSaceone 3 жыл бұрын
Holy Tuesday thanks for blessing us with another great video from Simon
@Chalbano
@Chalbano 3 жыл бұрын
The coolest in your videos, to me, is that I learn in both cases, one of them is things about Ionic and etc, and other is the English. I`m learning English right now, and I heard your videos to better it. Thank you!
@galaxies_dev
@galaxies_dev 3 жыл бұрын
Haha that's so cool to hear - always happy to help in any possible way Crystian :)
@rvuyyuru
@rvuyyuru 3 жыл бұрын
Thank you so much for your dedication towards ionic community
@galaxies_dev
@galaxies_dev 3 жыл бұрын
It's my pleasure!
@ProsenjeetPaulProsenjeetPaul
@ProsenjeetPaulProsenjeetPaul 3 жыл бұрын
@@galaxies_dev you are amazing. Just moved from cordova to ang+ionic
@khambatgurbanov5890
@khambatgurbanov5890 3 жыл бұрын
Hi Simon! Thanks for this useful tutorial Can you make a video about ionic live update?
@abctintin1
@abctintin1 2 жыл бұрын
Hi @Simon, It's very helpful. Following this approach, do we need to deploy a new app version to Google Play or App Store?
@galaxies_dev
@galaxies_dev 2 жыл бұрын
Yes this is more like an "In app check" to see if there's an update that you want your users to get - but you still need to update the app on the usual way!
@abctintin1
@abctintin1 2 жыл бұрын
@@galaxies_dev we're facing an issue that, our application is developed based on Angular9, and using service worker to detect the change. So After deployed a new version to web server, webbrowser and Android app can detect the change and show popup for upgrading, but IOS app. We have to uninstall and reinstall app and it works. We are trying to find out a way to detect the change on Web Server and upgrade app without deploying a new version (for both Android and IOS) and it should work for both Android and IOS apps
@connorwilliams8291
@connorwilliams8291 2 жыл бұрын
Hey Simon, thanks so much for you videos. Is this still the same process for capacitor 3?
@galaxies_dev
@galaxies_dev 2 жыл бұрын
In general I think you can still use the approach, only the import of Plugins has changed with Capacitor 3!
@MrSwadhin4
@MrSwadhin4 2 жыл бұрын
Hi Simon, Is it possible to update the app from background,when not in use by user. Need to get some understanding on this
@galaxies_dev
@galaxies_dev 2 жыл бұрын
There is a background plugin to keep the app active or send a push notification to the app when something changes.
@royalkick809
@royalkick809 2 жыл бұрын
@@galaxies_dev Thank you, will try
@beautyhopapp
@beautyhopapp 11 ай бұрын
can i use a firestore document, instead a json in ocean digital to maintain and update my versions?
@imnz3099
@imnz3099 Жыл бұрын
do I need to add ios / android platform for cordova as well since I've already have both of that platform for capacitor?
@galaxies_dev
@galaxies_dev Жыл бұрын
Cordova plugins are only installed in Capacitor projects, you don't have to do anything else.
@Dtxen1985
@Dtxen1985 Жыл бұрын
For People watching this video in 2022, I implement this tutorial with ionic 6 Capacitor 4 and NativeMarket plugin works great in IOS with idXXXX not IDBUNDLE but Android give me errors in build and i cant install in device,. If anyone has a solution, please share it. Meanwhile I recommend doing the entire handler with in app browser and use share urls of the stores as parameters. Simon Grimm Videos ARE GREAT
@galaxies_dev
@galaxies_dev Жыл бұрын
Thanks for the update - might have to create a new version then :/
@davidedinapoli6336
@davidedinapoli6336 3 жыл бұрын
Hi @Simon, have you done anything to solve CORS policy errors?
@TheSaceone
@TheSaceone 3 жыл бұрын
You take the concepts of the dynamic components video, the dynamic forms video and this video and you can basically build a dummy app driven by json files hahaha. Awesome stuff here.
@azhagappankathiresan5338
@azhagappankathiresan5338 8 ай бұрын
Can you please post an example with capawesome app update plugin?
@minvalencia9598
@minvalencia9598 3 жыл бұрын
Hi simon how can I use downloadable angular template in my ionic project? what are the important things I need to do?
@SsS-ns6rf
@SsS-ns6rf 6 ай бұрын
hi, i am using ionic7, when i test the app in browser it working fine. but when i test the apk in mobile, it show blank new app with tabs. i have tried the commands ionic build npx cap copy but does not show my app contents. i have also build with android studio but nothin happen
@azarudeen6054
@azarudeen6054 Жыл бұрын
i want to redirect another app for payment but in mobile app detect the installed app, but working fine in web browser. What i am missed?
@UttamRajGiri
@UttamRajGiri Жыл бұрын
@simon Grimm how can we do this in ionic framework 3 using only cordova any idea?
@galaxies_dev
@galaxies_dev Жыл бұрын
I Haven't worked with Ionic 3 for years - probably better to update that app!
@ronvanda3045
@ronvanda3045 3 жыл бұрын
Thanks for this useful tutorial
@galaxies_dev
@galaxies_dev 3 жыл бұрын
You are welcome!
@paragbhide5032
@paragbhide5032 3 жыл бұрын
Simon you rock.
@galaxies_dev
@galaxies_dev 3 жыл бұрын
🙌
@KasimSheyi
@KasimSheyi 3 жыл бұрын
This is such beautiful content. Well explained!
@galaxies_dev
@galaxies_dev 3 жыл бұрын
Glad it was helpful!
@alekai988
@alekai988 3 жыл бұрын
Great video as always!!!
@galaxies_dev
@galaxies_dev 3 жыл бұрын
Glad you enjoyed!
@ravitejaboddu9370
@ravitejaboddu9370 2 жыл бұрын
Is there a plugin with which we can get app version in ionic react application using capacitor.
@galaxies_dev
@galaxies_dev 2 жыл бұрын
Yeah I've just written about that here: ionicframework.com/blog/take-control-of-your-capacitor-app-state
@velociraptor5962
@velociraptor5962 3 жыл бұрын
Hi Simon, in the last part of you video you mentioned pause and resume of the platform. Are you able to explain this more or do a video on this? I'm looking at doing this, where I go to an external link, and the app stays the same, until I come back to it, but so far, there isn't much on this - that I've seen. Having said that, I'll have probably figured it out by the time you address this issue, but you could add it to your todo list. :)
@galaxies_dev
@galaxies_dev 3 жыл бұрын
These are the events I meant: ionicframework.com/docs/angular/platform#events
@ibnunaufal7880
@ibnunaufal7880 3 жыл бұрын
Hi simon, is it possible to update the json automatically when we have a new version that uploaded on playstore/app store? it will be a tiring jobs when we manage dozens of apps, and we update it one by one
@galaxies_dev
@galaxies_dev 3 жыл бұрын
You could maybe create something like a post commit hook or inside your CI server to update the JSON, but not exactly from Ionic.
@banonroy
@banonroy 3 жыл бұрын
Awesome as always 👏
@dgdeepak149
@dgdeepak149 9 ай бұрын
Thanks
@galaxies_dev
@galaxies_dev 9 ай бұрын
Welcome
@marcelo.caetano
@marcelo.caetano Жыл бұрын
How would it be possible to update the downloaded apk without going to the app store?
@manuelmariscal7286
@manuelmariscal7286 3 жыл бұрын
Hello Simon! I am waiting for so long for an answer from you, can you tell me please, if it works on your projects with Ionic 4 + Angular the Local notifications (Ionic native) thank you ;) Regards!
@galaxies_dev
@galaxies_dev 3 жыл бұрын
I'm not sure what you mean? Yes local notifications should work fine on all Ionic versions!
@manuelmariscal7286
@manuelmariscal7286 3 жыл бұрын
@@galaxies_dev Hello sir! Thanks for your interest and for your super videos, are amazing! At the end after 1 month I realized it is not working on Simulator... iOS it seems it has such a lot of issues... I am moving all the projects to iOS and damn... cannot sleep at nights jaja
@AntoineBlanquet
@AntoineBlanquet Жыл бұрын
thanks for this awesome content ! I need to add this feature to my React Ionic App, i'm still struggling to translate update.service.ts to react but i'll get through it. nevertheless the concept is understood on my side and is very well explained, thank you
@galaxies_dev
@galaxies_dev Жыл бұрын
Happy I could give you the idea Antoine!
@tejasbhatt1820
@tejasbhatt1820 Жыл бұрын
Please a video on handle Resume thing
@flevaris_
@flevaris_ 3 жыл бұрын
I honestly love your videos.
@galaxies_dev
@galaxies_dev 3 жыл бұрын
Thank you so much!
@argelpamintuango1956
@argelpamintuango1956 2 жыл бұрын
is inapp browser will work for both android and ios?
@galaxies_dev
@galaxies_dev 2 жыл бұрын
Yes it should.
@Thealiano
@Thealiano 3 жыл бұрын
Hi nice video, I manage to do the same thing with cordova, with barely the same code ( just using Market for both ios and android). there is just one problem with your solution, the onResume is trigger each time the application goes from back to front even if it's triggered because of cordova plugin like camera , it's really annoying in certain apps because for minor updates they are triggered each time we use the camera, phone call ... And i did not find a way to identify camera or any internal plugin used in the application onResume event. We can unsubscribe from onResume event each time the application use a cordova plugin but i found this solution aweful . Any ideas how to solve that ?
@galaxies_dev
@galaxies_dev 3 жыл бұрын
Good catch, but if you do the check in the background the user wouldn't really notice unless there is in fact a new version available, right?
@Wavywahid
@Wavywahid 3 жыл бұрын
What about users that have previous versions without this code?
@galaxies_dev
@galaxies_dev 3 жыл бұрын
You might need a fallback for that scenario, most likely for them everything new should be breaking!
@armelkouassi9551
@armelkouassi9551 3 жыл бұрын
thanks you
@marlynelismarpimentel7863
@marlynelismarpimentel7863 3 жыл бұрын
Just in time!!
@kongtrumpet1749
@kongtrumpet1749 3 жыл бұрын
Help me please. I want to guide certificate pinning.
@alexism6652
@alexism6652 3 жыл бұрын
Hello, there is one problem with this solution, it's that google play store doesn't refresh at the same moment for each user. If your new version is online, it's can be not visible for the user yet. So he will have the message but the application show no updates on the store :/
@galaxies_dev
@galaxies_dev 3 жыл бұрын
It does not? Never knew! Can you maybe set a fixed date for the release so all get it immediately at that point? That used to work for iOS releases..
@matadorevo5335
@matadorevo5335 3 жыл бұрын
admob & facebook audience network in Ionic 🙂
@learnforever1801
@learnforever1801 3 жыл бұрын
How about Ionic react? sir :(
@galaxies_dev
@galaxies_dev 3 жыл бұрын
I'm only into Angular at this point :/
3 жыл бұрын
Gibts einmal ein Deutsches Video 😜😎😂
@galaxies_dev
@galaxies_dev 3 жыл бұрын
;)
@tarekfathi2003
@tarekfathi2003 3 жыл бұрын
Hi I Got this error when building my app Error: node_modules/@capacitor-community/native-market/node_modules/@capacitor/core/types/definitions-internal.d.ts:16:18 - error TS2430: Interface 'CapacitorInstance' incorrectly extends interface 'CapacitorGlobal'. Types of property 'Plugins' are incompatible. Property 'NativeMarket' is missing in type '{ [pluginName: string]: { [prop: string]: any; }; }' but required in type 'PluginRegistry'. 16 export interface CapacitorInstance extends CapacitorGlobal { ~~~~~~~~~~~~~~~~~ node_modules/@capacitor-community/native-market/dist/esm/definitions.d.ts:3:9 3 NativeMarket: NativeMarketPlugin; ~~~~~~~~~~~~ 'NativeMarket' is declared here.
@galaxies_dev
@galaxies_dev 3 жыл бұрын
Yeah that might be a problem of Capacitor 3, not all plugins are updated for it yet :/
How to Handle User Roles in Ionic Apps with Guard & Directives
36:30
How to Cache API Responses with Ionic & Capacitor
30:10
Simon Grimm
Рет қаралды 9 М.
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 22 МЛН
Wait… Maxim, did you just eat 8 BURGERS?!🍔😳| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 9 МЛН
Это было очень близко...
00:10
Аришнев
Рет қаралды 7 МЛН
How to Cache Image Files with Ionic & Capacitor
23:10
Simon Grimm
Рет қаралды 12 М.
Building the Spotify UI with Ionic
47:20
Simon Grimm
Рет қаралды 23 М.
Ionic Dynamic Status Bar Color with Capacitor
21:50
Simon Grimm
Рет қаралды 15 М.
How to Create a Dynamic Angular Form from JSON within Ionic
34:34
How to Lazy Load Images with Ionic
22:23
Simon Grimm
Рет қаралды 9 М.
Building the Twitter UI with Ionic Components | Built with Ionic
37:59
10 Essential React Native Tips Every Developer Must Know
12:07
Simon Grimm
Рет қаралды 15 М.
Building an SQLite Ionic App with Capacitor
29:11
Simon Grimm
Рет қаралды 24 М.
How to Create an Ionic Bottom Drawer with Gestures
22:27
Simon Grimm
Рет қаралды 14 М.
You've Been Building React Native Lists Wrong All Along
13:43
Simon Grimm
Рет қаралды 10 М.
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 22 МЛН