Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example to use the Appcast for Android #4

Closed
jasonlaw opened this issue May 5, 2019 · 6 comments
Closed

Example to use the Appcast for Android #4

jasonlaw opened this issue May 5, 2019 · 6 comments

Comments

@jasonlaw
Copy link

jasonlaw commented May 5, 2019

Hi @larryaasen ,

Do you mind add the Appcast for android implementation into your example? I have no idea how to start with that.

Thanks in advance.

@larryaasen
Copy link
Owner

@jasonlaw There is an Appcast file in the test folder: test/testappcast.xml

@jasonlaw
Copy link
Author

jasonlaw commented May 6, 2019

Hi @larryaasen ,

Sorry for not being clear to you. What I mean is how to use the Appcast in the app.
Your 2 examples seems targeting for IOS.

image

@larryaasen
Copy link
Owner

I see. I will setup an example that better explains how to use appcast on Android.

@larryaasen larryaasen reopened this May 6, 2019
@larryaasen
Copy link
Owner

larryaasen commented May 14, 2019

@jasonlaw I updated the examples with an Appcast for Android. It is now in version 0.5.1+1 of the package here: 822d52f. The format of the Appcast file is listed in the README.

@aamirpadder
Copy link

aamirpadder commented Aug 20, 2020

Hey @larryaasen it's giving an error in the build
Can u please help me with it?

Compiler message:
/Users/macpc/Flutter/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/upgrader-2.5.0/lib/src/appcast.dart:86:36: Error: Method not found: 'XmlDocument.parse'.
final document = XmlDocument.parse(xmlString);

@larryaasen
Copy link
Owner

You need to make sure the xml package is updated to 4.2.x. Check your pubspec.lock file and see if the xml package version is 4.2.x. If not, use flutter pub outdated and flutter pub upgrade to get the compatible version of xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants