-
Notifications
You must be signed in to change notification settings - Fork 33
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] Exception and crash during resume #36
Comments
So this line: https://github.com/bradmartin/nativescript-floatingactionbutton/blob/master/fab-common.js#L43. I'll have to find some time to fix this piece, it's not a major issue to fix but I don't have time right now to fix and test. |
Publishing 2.2.6 soon with the fix, it's here https://github.com/bradmartin/nativescript-floatingactionbutton/blob/master/fab-common.js#L43 |
@bradmartin We're using the latest version of the plugin and we've got the same issue on Android Could it be that there is a regression somewhere?
|
Could be, not sure. I have the FAB in multiple apps in production on app stores and haven't had this crash occur. So I'm really not sure. Do you know what file is referenced by the |
I don't know what the
|
I bet it's an angular type thing with the ngIf. If you remove that what
happens?
…On Mon, Aug 28, 2017, 9:48 AM Jeremy ***@***.***> wrote:
I don't know what the <embedded> tag refers to.
Fab button is included on my homepage and it looks like that:
<GridLayout column="*" rows="*">
<GridLayout row="0" columns="*", rows="*, auto">
<ScrollView row="0">
[....]
</ScrollView>
</GridLayout>
<FAB
*ngIf="user?.id"
row="0"
[class.no-margin]="FABNoMargin"
(tap)="goToBookingWidget()"
icon="res://ic_add_white"
backColor="#159c28"
rippleColor="#e2f2e6"
class="fab-action">
</FAB>
</GridLayout>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFulhP67YTk4mMr5VK28O1_unn2WCdtiks5sctMzgaJpZM4KkK6A>
.
|
I can't always reproduce it in local. The issue is raised in Sentry for an app I just released last week. I'll try to dig into that way. Thanks for the feedback 👍 |
Cool, keep me posted. Just a guess that when the As a quick test, I'd try using the NS |
I'm using this plugin in my NativeScript Angular 2 project and when resuming the app often an exception is thrown causing an app crash.
My html:
The full stacktrace:
The text was updated successfully, but these errors were encountered: