EddyVerbruggen / nativescript-feedback

:loudspeaker: Non-blocking textual feedback for your NativeScript app
MIT License
129 stars 28 forks source link

android.view.InflateException #35

Closed gkoulin closed 4 years ago

gkoulin commented 6 years ago

Hello, I am getting android.view.InflateException when calling show on response from a promise. Seems to be related to an older version of tapadoo alerter https://github.com/Tapadoo/Alerter/issues/145. Is it possible to upgrade to the most recent tapadoo alerter to fix this problem?

EddyVerbruggen commented 6 years ago

Can you find a workaround? Because I tried to upgrade, but their latest version was rewritten in Kotlin and that's currently not working in NativeScript.

gkoulin commented 5 years ago

No, unfortunately I was not able to find a workaround and went with nativescript-snackbar instead.

dosomder commented 4 years ago

@EddyVerbruggen Since NativeScript now supports kotlin, can this be updated? Besides this bug, the new version already has features like displaying at the bottom / center. Your fork of ISMessages also seems to be missing some fixes

EddyVerbruggen commented 4 years ago

It would be great if indeed someone would take the time and upgrade it.

dosomder commented 4 years ago

I'll see if I can make a PR for android at least

dosomder commented 4 years ago

I can't figure out how to update the tapadoo dependency. If I bump the version no alert is displayed anymore.

Looks like every version from 3.0.0 does not work. Doesn't seem like their API changed. Is there anything additional needed in include.gradle since the dependency is in kotlin now?

It looks like the js code does not get past the create() call.

Edit: If I add a try catch block I get the exception Error: java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;

Edit2: Figured it out. It was missing another dependency that is not really documented.