{
    "componentChunkName": "component---src-templates-flutter-blog-post-js",
    "path": "/flutter-blog/flutter-purchases-plugin-1-5-0/",
    "result": {"data":{"prismicFlutterPost":{"_previewable":"YZ9M0RUAACYA3sLx","uid":"flutter-purchases-plugin-1-5-0","first_publication_date":"2021-11-25T09:57:47+0000","last_publication_date":"2021-11-25T09:57:47+0000","lang":"en-us","data":{"rich_text":{"text":"We just published our new linkfive_purchases version 1.5.0. Checkout the latest version on pub.dev. What‘s new LinkFivePurchases.fetchSubscriptions() had no return value in version 1.3.0. In version 1.4.0 we returned a future of List<ProductDetails> which is correct but was missing the Subscription attributes.  In version 1.5.0 we added the attributes again and LinkFivePurchases.fetchSubscriptions() now returns a Future of LinkFiveSubscriptionData. The LinkFiveSubscriptionData contains a List of LinkFiveProductDetails which represents the subscription product (It's now the same as LinkFivePurchases.products) listenOnResponseData is now deprecated and won't be replaced. We just used the method internally and should not be used in a production app. LinkFiveVerifiedReceipt has a new getter. We added subscriptionDuration which contains the duration of the subscription. The duration is an of Type SubscriptionDuration. Possible values are:  P1W P1M P3M P6M P1Y We also added more documentation to the code. Along with the update of 1.5.0 we also released the provider version 1.5.0 New to LinkFive? Go to our Documentation!","raw":[{"type":"paragraph","text":"We just published our new linkfive_purchases version 1.5.0. Checkout the latest version on pub.dev.","spans":[{"start":53,"end":58,"type":"strong"},{"start":91,"end":98,"type":"hyperlink","data":{"link_type":"Web","url":"https://pub.dev/packages/linkfive_purchases"}}]},{"type":"heading2","text":"What‘s new","spans":[]},{"type":"paragraph","text":"LinkFivePurchases.fetchSubscriptions() had no return value in version 1.3.0. In version 1.4.0 we returned a future of List<ProductDetails> which is correct but was missing the Subscription attributes. ","spans":[{"start":0,"end":38,"type":"strong"}]},{"type":"paragraph","text":"In version 1.5.0 we added the attributes again and LinkFivePurchases.fetchSubscriptions() now returns a Future of LinkFiveSubscriptionData. The LinkFiveSubscriptionData contains a List of LinkFiveProductDetails which represents the subscription product (It's now the same as LinkFivePurchases.products)","spans":[]},{"type":"paragraph","text":"listenOnResponseData is now deprecated and won't be replaced. We just used the method internally and should not be used in a production app.","spans":[{"start":0,"end":20,"type":"strong"}]},{"type":"paragraph","text":"LinkFiveVerifiedReceipt has a new getter. We added subscriptionDuration which contains the duration of the subscription. The duration is an of Type SubscriptionDuration.","spans":[{"start":0,"end":23,"type":"strong"}]},{"type":"paragraph","text":"Possible values are: ","spans":[]},{"type":"list-item","text":"P1W","spans":[]},{"type":"list-item","text":"P1M","spans":[]},{"type":"list-item","text":"P3M","spans":[]},{"type":"list-item","text":"P6M","spans":[]},{"type":"list-item","text":"P1Y","spans":[]},{"type":"paragraph","text":"We also added more documentation to the code.","spans":[]},{"type":"paragraph","text":"Along with the update of 1.5.0 we also released the provider version 1.5.0","spans":[]},{"type":"paragraph","text":"New to LinkFive? Go to our Documentation!","spans":[{"start":17,"end":41,"type":"hyperlink","data":{"link_type":"Web","url":"https://www.linkfive.io/docs/flutter/get-started/"}}]}]},"title":{"text":"LinkFive Purchases Plugin Update 1.5.0"},"hero_image":{"alt":null,"localFile":{"childImageSharp":{"fluid":{"aspectRatio":2.150537634408602,"src":"/static/cbba5c7a57f03e54e28f8c2395008030/ee604/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png","srcSet":"/static/cbba5c7a57f03e54e28f8c2395008030/69585/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png 200w,\n/static/cbba5c7a57f03e54e28f8c2395008030/497c6/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png 400w,\n/static/cbba5c7a57f03e54e28f8c2395008030/ee604/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png 800w,\n/static/cbba5c7a57f03e54e28f8c2395008030/f3583/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png 1200w,\n/static/cbba5c7a57f03e54e28f8c2395008030/5707d/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png 1600w,\n/static/cbba5c7a57f03e54e28f8c2395008030/bbee5/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png 1800w","sizes":"(max-width: 800px) 100vw, 800px","base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAIAAAC9o5sfAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA4klEQVQoz5WPTWuDQBCG9/8fes8l9BLIofQsxCRKGxWKKDGCoFRbDQpRthpBFnd2QiKGpjZN85yGYd6PIWGczVRDM96UF+Mj3iKi6MET3+cfEG3z/vD4PJk+jcYTe71BRABAxKKkSZZ/xin92uMVSCOw5ogCAHi3YowpynK+kF9XmizPJUlSVZVz/ov4WAsAhIC+nhCCUhqGYZ7v0jRNTnR1BuJLequrf/4l5pzbtq3ruud5QRBYluW6rmmajuMMw8nQrzuqqiqKIt/3y7IEgLZtbyefaZqmruuiKBhj/619FwfpTQVVtUkzTwAAAABJRU5ErkJggg==","srcSetWebp":"/static/cbba5c7a57f03e54e28f8c2395008030/61e93/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.webp 200w,\n/static/cbba5c7a57f03e54e28f8c2395008030/1f5c5/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.webp 400w,\n/static/cbba5c7a57f03e54e28f8c2395008030/58556/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.webp 800w,\n/static/cbba5c7a57f03e54e28f8c2395008030/99238/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.webp 1200w,\n/static/cbba5c7a57f03e54e28f8c2395008030/7c22d/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.webp 1600w,\n/static/cbba5c7a57f03e54e28f8c2395008030/685a2/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.webp 1800w"},"gatsbyImageData":{"layout":"fullWidth","backgroundColor":"#f8f8f8","images":{"fallback":{"src":"/static/cbba5c7a57f03e54e28f8c2395008030/d7441/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png","srcSet":"/static/cbba5c7a57f03e54e28f8c2395008030/2a360/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png 750w,\n/static/cbba5c7a57f03e54e28f8c2395008030/c7768/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png 1080w,\n/static/cbba5c7a57f03e54e28f8c2395008030/ac867/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png 1366w,\n/static/cbba5c7a57f03e54e28f8c2395008030/d7441/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.png 1800w","sizes":"100vw"},"sources":[{"srcSet":"/static/cbba5c7a57f03e54e28f8c2395008030/be179/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.webp 750w,\n/static/cbba5c7a57f03e54e28f8c2395008030/1eb10/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.webp 1080w,\n/static/cbba5c7a57f03e54e28f8c2395008030/e34d1/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.webp 1366w,\n/static/cbba5c7a57f03e54e28f8c2395008030/df00f/5d849b6c-8745-4592-81ac-0920dc107434_flutter_purchases_release1-5-0.webp 1800w","type":"image/webp","sizes":"100vw"}]},"width":1,"height":0.4666666666666667}}},"dimensions":{"width":1800,"height":840}},"author_name":{"text":"Alexander Thiele"},"meta_description":{"text":""},"meta_title":{"text":""}}}},"pageContext":{"id":"1d662130-f7e8-53ec-b0c7-fa12c1291635","uid":"flutter-purchases-plugin-1-5-0","lang":"en-us","type":"flutter_post","url":"/flutter-blog/flutter-purchases-plugin-1-5-0/"}},
    "staticQueryHashes": []}