ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

How to Add In-App Purchases & Subscriptions to your Ionic App with Glassfy

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ส.ค. 2024
  • Glassfy makes working with in-app purchases across multiple platforms easy, and we can use the Capacitor plugin to integrate it into our Ionic app!
    This video is sponsored by Glassfy - Manage and grow in app purchases and subscriptions in minutes 🚀
    Create your free account at: glassfy.io/
    🔥 The fastest way to learn Ionic: ionicacademy.com/
    ⚡️ Just getting started?
    Grab a free 46 pages eBook: ionicacademy.com/ionic-quicks...
    #############################
    👨‍💻 Want to read instead of watch?
    Here's the full Ionic tutorial: devdactic.com/subscriptions-i...
    🤷‍♂️ Want more Ionic tutorials?
    There you go: devdactic.com/
    #############################
    ❤️ You can also find me on:
    Instagram: / simongrimm_
    Twitter: / schlimmson
    Facebook: / devdactic
    TikTok: / simongrimm_
    Or join the Simonics Facebook group:
    / simonics
    #############################
    00:00 About Glassfy
    01:33 Setting up your Glassfy Products
    09:24 Glassfy Capacitor Integration
    13:56 Load and Display Offerings
    21:40 Purchasing Products through Glassfy
    27:00 Handling IAP Transactions
    30:49 Loading Permissions from Glassfy
    36:46 Outro
    #inapppurchase #glassfy #capacitor

ความคิดเห็น • 89

  • @CORONITAWITHLIME
    @CORONITAWITHLIME ปีที่แล้ว +3

    glassfy seems brilliant! Super simple. I had a nightmare with IAPs last year in an app i was developing

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Yeah it is - hope you can integrate it into your app!

  • @rojotv122
    @rojotv122 ปีที่แล้ว +1

    Great tutorial as always! I'm seriously considering using it and also being a Europe company is pretty convinient!

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      You should give it a try and yes, being a EU company makes this really great.

  • @josecoque1755
    @josecoque1755 ปีที่แล้ว +2

    Thanks for existing Simon! Lifesaver as always

  • @beerisvictory
    @beerisvictory ปีที่แล้ว +2

    Thanks this video was a gamechanger for me. awesome. Used it in my new book tracker app

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      Awesome!! Please send me a link to your app when it's done :)

  • @snargol2974
    @snargol2974 ปีที่แล้ว +1

    amazing ! Thanks glassfy, i ll use this service 😄

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      Glad you like it - make sure to tell them you cam from my video :D

  • @elydevhn
    @elydevhn ปีที่แล้ว +1

    It’s amazing! Thanks 🙏🏼

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      Happy to help, I think so too - let the Glassfy team know you came from my video :)

  • @reacaosistemas5746
    @reacaosistemas5746 ปีที่แล้ว +1

    Amazing content. Thanks

  • @AnkitMaheshwariIn
    @AnkitMaheshwariIn 8 หลายเดือนก่อน

    Hi, thanks for the details. How to get transactionId after purchase is done?

  • @dksanket
    @dksanket ปีที่แล้ว +3

    @simon big fan of you and your content.. please please please do a video on referral tracker in an ionic application no.. Struggling with it from past one week.. I know you are super busy with many things, even if you could just help me with any documentation, it would be a great great help.. And thank you so much for the all your content, it's making our life so much easier..

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      Thanks for following and I'll add it to my list Sanket!

    • @dksanket
      @dksanket ปีที่แล้ว

      @@galaxies_dev thank you so much Simon

  • @Adidumas1
    @Adidumas1 4 หลายเดือนก่อน

    great video. I uploaded the bundle into the Play Store, Internal Testing and configured all the Glassfy and Google Play stuff and even on my phone I get the "Not supported on web.". Any ideea? Thanks

  • @GosuMania
    @GosuMania ปีที่แล้ว

    Hello Simon, you can make a video on how to migrate to the new Google Identity Services on an Ionic Application please!

  • @bradchellingworth5973
    @bradchellingworth5973 ปีที่แล้ว +2

    This seems so much better than what I've used in the past.
    I really appreciate your videos, the only thing I find problematic is the fact that you always use angular and typescript which adds a lot of code that only exists to make typescript or angular work and is very distracting from the code required to make this feature work. May i suggest using a less intrusive framework like vue and without typescript so we can focus purely on the implementation of this plugin and not the implementation of the framework, if that makes sense. Once we know how to implement the plugin, if people want to wrap it in typescript and use it in angular or react or whatever, they can.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      Yeah I'm now also using other frameworks like React and maybe even Vue in the future!

  • @BogdanNicovski
    @BogdanNicovski ปีที่แล้ว

    Great tutorial @Simon! How to enable In-App purchases for IOS if we are not working on Mac?
    Thanks

    • @66marten
      @66marten 11 หลายเดือนก่อน

      have you found a solution?

  • @nataliaortiz4174
    @nataliaortiz4174 ปีที่แล้ว

    Hi Simon, Thanks a lot for your videos, they are really useful!. is it possible to use glassify without ionic? I converted my angular website to an ios app using Capacitor, and now I need to add in-app purchases.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Sure Ionic is mostly UI stuff - the Capacitor part is important, so yes you can use Capacitor+Glassfy!

  • @saq.ib01
    @saq.ib01 ปีที่แล้ว

    How can i do something like Add to cart? can i buy 1 item quantity wise? Like 1 have a shirt priced at $5. if user wants to buy 3 shirts how can i do that?

  • @marekblaha9429
    @marekblaha9429 ปีที่แล้ว

    hi simon, thanks for your tutorial, love your videos... do you think glassfy is secure enought to use in fintech app ? thanks

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      I do think so but to confirm I would recommend you reach out to their team directly - they are super friendly!

  • @MakeAppswithDanny
    @MakeAppswithDanny ปีที่แล้ว

    Hi Simon. Great video, you definitely sold me on Glassfy for my subsription-based app! I got this working very easily with iOS. But for Android, I can't for the life of my get the SKU's to be returned. I did all the config / google cloud stuff over 36 hours ago, set up the internal testing track & License test email addresses, signed into Google Play on my test device with a test email. Still no SKU's. Did you have any issues getting the SKU's with Android, and do you have any suggestions? Thanks 👍

    • @MakeAppswithDanny
      @MakeAppswithDanny ปีที่แล้ว

      The issue was I was using the Play Store "Base Plan" ID in Glassfy, rather than the overall "Subscription" ID. I must agree on Glassfy support, Marco has been incredibly helpful!

    • @DhiaAkermi-yg4nl
      @DhiaAkermi-yg4nl 8 หลายเดือนก่อน +1

      @@MakeAppswithDanny can you please tell me how to fix it exactly because I tried the subscription ID and still not getting the SKU's please I need your help if possible!

    • @MakeAppswithDanny
      @MakeAppswithDanny 8 หลายเดือนก่อน

      @@DhiaAkermi-yg4nl It could be a bunch of different things, as there are so many variables within the setup. I would recommend just starting a chat with the team (on the website). They have been incredibly helpful to me. They even updated the Glassfy plugin after I noticed an issue with it 👍

  • @nyambe
    @nyambe ปีที่แล้ว

    Hello Simon. Off topic a bit. Should I use ionic components like card or should I style my own ? In there any advantage to using ionic-card ionic-card-content etc, besides the pre stying?

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +2

      Well you automatically get the adaptive styling for iOS/Android with Ionic components. If you want the same UI across platforms, you could use your own styling instead.

    • @nyambe
      @nyambe ปีที่แล้ว

      @@galaxies_dev I see! good to know. That can be important.

  • @Mvasco91
    @Mvasco91 ปีที่แล้ว

    Hi Simon, amazing video, I tried to implemented in my app, but I can't get skus Array, always comes empty, any idea why?

    • @DhiaAkermi-yg4nl
      @DhiaAkermi-yg4nl 8 หลายเดือนก่อน

      Have you managed to fix this problem please? if yes, how? because I'm facing the same issue!

  • @kamo-tomoki
    @kamo-tomoki ปีที่แล้ว

    Hi,Simon! Thanks for your helpful tutorial!
    Could you tell me where can I get the tool that you use to debug at around 17:28?
    I'm really want to use this amazing tool!!

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      It's called inspect: inspect.dev/

    • @kamo-tomoki
      @kamo-tomoki ปีที่แล้ว

      @@galaxies_dev Thank you so much for your replying!!
      I'm looking forward to your new videos!

  • @Gustavo-bi4hv
    @Gustavo-bi4hv ปีที่แล้ว

    Hello, Simon. Amazing content!
    Could you help to understand a speific situation? Let's supose the user has an e-mail "X", purchase a subscription and log in my app with the e-mail "X". But, if he logs in another account using e-mail "Y", isn't Glassfy return that he also have the product already? But he should not be allowed to use it in email "Y", because he purchased with "X".
    Sorry if its confuse. Hope you can help me.
    Thanks.

    • @corysmc
      @corysmc ปีที่แล้ว

      I've got the same question - wondering how to connect a paid subscription to a specific dataset in my database. Seems like I can't get access to webhooks without upgrading my glassfy account 🤔unless I'm missing something

  • @samurebuelta
    @samurebuelta ปีที่แล้ว

    do you know if it is compatible with ios 16? the in app purchase 2 library is giving me problems on ios 16

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      You might have to reach out to Glassfy, but they were really quick to update their Capacitor plugin last time!

  • @yuliankarapetkov
    @yuliankarapetkov ปีที่แล้ว

    Since you can't cancel a subscription programmatically, can you open the Subscriptions native menu programmatically instead?

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      I think on iOS you always have to go into your account settings to cancel a subscription!

    • @yuliankarapetkov
      @yuliankarapetkov ปีที่แล้ว

      @@galaxies_dev thanks for the response! I appreciate it! I guess the same applies for Android? I can't seem to find a programmatic way to do this.

  • @reyco1
    @reyco1 ปีที่แล้ว +1

    Why is it so slow though? Have you seen it working in production?

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      What exactly is slow? IAP are always a bit slow in my experience.

    • @picass0
      @picass0 ปีที่แล้ว

      the loading of the apple pay, normally it is 2-4 seconds. using this it is 8-12. have you tested it in production?

  • @jingguoca
    @jingguoca ปีที่แล้ว

    Hi Simon, I am using In App Purchases 2 and Fovea for the validation, do you think it’s safe to move to glassfy? Or is it necessary to do that for now? What do you think?

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Glassfy is not required, but it's a great way to use validation and get better stats about your purchases!

    • @jingguoca
      @jingguoca ปีที่แล้ว

      @@galaxies_dev thanks

    • @jingguoca
      @jingguoca ปีที่แล้ว

      @@alexkudelka ok, thanks, I will try that.

  • @picass0
    @picass0 ปีที่แล้ว

    is the loading of the payment modal shorter in production? it takes a while in sandbox😅

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Yeah I think it is - but it takes time in basically all apps that I use!

    • @picass0
      @picass0 ปีที่แล้ว

      yes, i reached out to their team to see if this is a known issue.

  • @natanaelmedina2232
    @natanaelmedina2232 11 หลายเดือนก่อน

    Using deep links to redirect to payment platform within my ionic app dont violate the apple guidelines to deploy my app to app store?

    • @galaxies_dev
      @galaxies_dev  11 หลายเดือนก่อน +1

      I'm not sure about that, Apple is very strict with their in app payment policies!

  • @jordanwillian9958
    @jordanwillian9958 ปีที่แล้ว

    I was left with a doubt: what exactly does the restore method do? Can subscriptions be canceled by him? Sorry, but the Portuguese translation of the documentation doesn't make that very clear.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      I think this is usually required by Apple if a user deletes the app or installs it again, you need a way to restore the purchases from before!

  • @nitzanravhon2310
    @nitzanravhon2310 6 วันที่ผ่านมา

    Hi Simon! it appears that Glassfy will be discontinued starting end of 2024. Do you have any alternatives for handling iOS and Android purchases with Ionic? P.S. Your videos are amazing, keep up the great work!

    • @galaxies_dev
      @galaxies_dev  6 วันที่ผ่านมา

      Just heard about it yesterday, still have to figure it out myself! Usually I would recommend RevenueCat!

    • @nitzanravhon2310
      @nitzanravhon2310 5 วันที่ผ่านมา

      @@galaxies_dev thanks man, will check it out

  • @JosueLMM
    @JosueLMM ปีที่แล้ว

    One question, if it is implemented Glassfy,
    Apple will no longer bother with the fact that the app must have In-App Purchases?

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      You are using the native Apple IAP, it's just mapped to Glassfy!

  • @saq.ib01
    @saq.ib01 ปีที่แล้ว

    Hi Simon, How can i receive purchase and Auto Re-new events on my server side to manage subscriptions? How can i save payment details.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      Glassfy has some webhooks and a new feature coming soon which will make it super easy to sync that - stay tuned for video coming soon!

    • @saq.ib01
      @saq.ib01 ปีที่แล้ว

      @@galaxies_dev Thanks. Waiting for new video.

    • @saq.ib01
      @saq.ib01 2 หลายเดือนก่อน

      @@galaxies_dev video?? also add upgrade and downgrade in tutorial.

  • @purjan1
    @purjan1 ปีที่แล้ว +3

    Please make video on audio and video calling with WebRTC in ionic app

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +2

      Yeah that's still a hot and open topic!

    • @purjan1
      @purjan1 ปีที่แล้ว +1

      @@galaxies_dev yes Please , currently i am also trying and need help

    • @purjan1
      @purjan1 ปีที่แล้ว +1

      @@galaxies_dev please make a video on it i am trying a lot but going through a lot of errors please made a video on that audio and video call with webrtc in ionic that works fine for android and ios

    • @saq.ib01
      @saq.ib01 ปีที่แล้ว

      @@galaxies_dev Still waiting.

  • @DevarshiDavessj4
    @DevarshiDavessj4 3 หลายเดือนก่อน

    what if i don't want to use glassfy?

  • @Matheus_1582
    @Matheus_1582 ปีที่แล้ว

    Como iniciar uma aplicação com vite e anguar
    npm init ng project

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Haven't tried that so far!

  • @Gustavo-bi4hv
    @Gustavo-bi4hv ปีที่แล้ว

    Simon, how does Glassfy handle testing/demo situations? I watched the video and could not find anything regards to that.
    Or this should be configured on Apple Store/Google Play store?

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      I think you should simply use a testing account for iOS/Android like I did in the video!

  • @loicfontaine8584
    @loicfontaine8584 ปีที่แล้ว

    Hello Simon, how can we prevent multiple account to purchase the same subscription on the same device ?
    Thank you for your answer.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Hmm I think you might have to handle this through your own backend logic!

  • @davidelias7796
    @davidelias7796 ปีที่แล้ว

    Where the source code?

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      In the tutorial linked below the video!

  • @moavizqureshi3095
    @moavizqureshi3095 8 หลายเดือนก่อน

    [Glassfy SDK] 🛑 API [e00] Error: Error Domain=GYErrorDomain Code=1011 "The receipt could not be authenticated." UserInfo={NSLocalizedDescription=The receipt could not be authenticated.}
    Thanks For the tutorial simon . Payment done but getting this error. Am not able to understand why this is coming.