How to Force Update Ionic Apps

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 81

  • @rvuyyuru
    @rvuyyuru 3 роки тому +12

    Thank you so much for your dedication towards ionic community

  • @TheSaceone
    @TheSaceone 3 роки тому +4

    Holy Tuesday thanks for blessing us with another great video from Simon

  • @Chalbano
    @Chalbano 2 роки тому +1

    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  2 роки тому +1

      Haha that's so cool to hear - always happy to help in any possible way Crystian :)

  • @TheSaceone
    @TheSaceone 3 роки тому +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.

  • @khambatgurbanov5890
    @khambatgurbanov5890 3 роки тому +2

    Hi Simon! Thanks for this useful tutorial
    Can you make a video about ionic live update?

  • @Dtxen1985
    @Dtxen1985 Рік тому +1

    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 :/

  • @tejasbhatt1820
    @tejasbhatt1820 Рік тому

    Please a video on handle Resume thing

  • @azhagappankathiresan5338
    @azhagappankathiresan5338 6 місяців тому

    Can you please post an example with capawesome app update plugin?

  • @SsS-ns6rf
    @SsS-ns6rf 5 місяців тому

    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

  • @beautyhopapp
    @beautyhopapp 9 місяців тому

    can i use a firestore document, instead a json in ocean digital to maintain and update my versions?

  • @davidedinapoli6336
    @davidedinapoli6336 3 роки тому

    Hi @Simon, have you done anything to solve CORS policy errors?

  • @ronvanda3045
    @ronvanda3045 3 роки тому +1

    Thanks for this useful tutorial

  • @KasimSheyi
    @KasimSheyi 3 роки тому +1

    This is such beautiful content. Well explained!

  • @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?

  • @banonroy
    @banonroy 3 роки тому +1

    Awesome as always 👏

  • @alekai988
    @alekai988 3 роки тому +1

    Great video as always!!!

  • @dgdeepak149
    @dgdeepak149 7 місяців тому +1

    Thanks

  • @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!

  • @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?

  • @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.

  • @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

  • @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

  • @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 роки тому +1

      These are the events I meant: ionicframework.com/docs/angular/platform#events

  • @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!

  • @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.

  • @AntoineBlanquet
    @AntoineBlanquet Рік тому +1

    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!

  • @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

  • @paragbhide5032
    @paragbhide5032 3 роки тому +1

    Simon you rock.

  • @armelkouassi9551
    @armelkouassi9551 3 роки тому +1

    thanks you

  • @marcelo.caetano
    @marcelo.caetano Рік тому

    How would it be possible to update the downloaded apk without going to the app store?

  • @flevaris_
    @flevaris_ 3 роки тому

    I honestly love your videos.

  • @matadorevo5335
    @matadorevo5335 3 роки тому +1

    admob & facebook audience network
    in Ionic 🙂

  • @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?

  • @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

  • @Wavywahid
    @Wavywahid 2 роки тому

    What about users that have previous versions without this code?

    • @galaxies_dev
      @galaxies_dev  2 роки тому

      You might need a fallback for that scenario, most likely for them everything new should be breaking!

  • @kongtrumpet1749
    @kongtrumpet1749 3 роки тому

    Help me please. I want to guide certificate pinning.

  • @argelpamintuango1956
    @argelpamintuango1956 2 роки тому

    is inapp browser will work for both android and ios?

  • @alexism6652
    @alexism6652 2 роки тому

    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  2 роки тому

      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..

  • @marlynelismarpimentel7863
    @marlynelismarpimentel7863 3 роки тому

    Just in time!!

  • @hoaithuong5247
    @hoaithuong5247 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 😜😎😂

  • @tarekfathi2003
    @tarekfathi2003 2 роки тому

    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  2 роки тому +1

      Yeah that might be a problem of Capacitor 3, not all plugins are updated for it yet :/