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

Android issues running Flare #141

Open
bremington opened this issue Aug 28, 2019 · 2 comments
Open

Android issues running Flare #141

bremington opened this issue Aug 28, 2019 · 2 comments
Assignees

Comments

@bremington
Copy link

Hi, as I have moved my app into release build, everything is working great on iOS. For Android, it seems to work fine in Debug build, Release build has many issues. Most of the time it appears Android is having issues building the animations, and times out, where it does not display the animation at all. My app has completed the migration to Android X, so not sure if Flare supports this. I get this error from the pre launch report on Google Play Console with Flare:

**4 warnings identified
The following APIs are greylisted and Google can’t guarantee that they will work on existing versions of Android. Some may be already be restricted for your target SDK

API Landroid/util/LongArray;->get(I)J
2 occurrences identified. Only unique stack traces are shown.

API Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J
2 occurrences identified. Only unique stack traces are shown.

API Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray;
2 occurrences identified. Only unique stack traces are shown.

API Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J
2 occurrences identified. Only unique stack traces are shown.**

When I remove Flair these go away. So for now I have had to use static images instead of the Flair animations when I deploy Android.

Here is one of the animations I am using:
https://www.2dimensions.com/a/bremington/files/flare/settings

@luigi-rosso
Copy link
Contributor

Hi @bremington, thanks for reporting this. Flare doesn't directly invoke any of those APIs, so I suspect it's something Flutter is doing under the hood based on some other Dart APIs Flare is using. The Flare runtime is written entirely in Dart.

You mentioned that Android is having issues building animations and times out. I'm not sure I follow what's happening. Does the app boot up? If so, does the rest of the app work but the Flare animations do not? You mentioned "many issues." What other issues do you see?

You may have stumbled on something new or perhaps something is misconfigured in the Android X migration. I suspect it's related to Flutter however as Flare doesn't interface with any OS level APIs directly.

Could you share a sample project with your Android X configuration?

@luigi-rosso luigi-rosso self-assigned this Aug 28, 2019
@bremington
Copy link
Author

bremington commented Aug 29, 2019 via email

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

2 participants