larryaasen / upgrader

A Flutter package for prompting users to upgrade when there is a newer version of the app in the store.
MIT License
547 stars 268 forks source link

sample appcast xml for ios? #268

Open ppshobi opened 1 year ago

ppshobi commented 1 year ago

I see that there is a sample appcast xml file for android, is there one for ios ?

 <item>
            <title>Version 1.0.0</title>
            <description>some description </description>
            <enclosure url="androidurl.com/play" sparkle:version="1.0.0" sparkle:os="android" />
            <enclosure url="iosUrl/appId234" sparkle:version="1.0.0" sparkle:os="ios" />
        </item>

just adding additional <enclosure> tags within the items are enough ?

robertocsd commented 1 year ago

did this works for you? @ppshobi I'm looking for an iOS appcast example too haha

ppshobi commented 1 year ago

it did work. but its not reading the minAppVersion and did not read some other parameters. I am still trying to find a solution.

Also you need to update the appcast cfg to include ios

  `final cfg = AppcastConfiguration(url: appcastURL, supportedOS: ['android', 'ios']);`
StarTakko commented 1 year ago

Hi, any solution?

larryaasen commented 5 months ago

@ppshobi Do you still have issues using Appcast for iOS?