Comments (8)
Thanks for sharing that repo, very helpful!
Looks like the convenience methods (success
, warning
, etc) are broken on Android. This works though:
feedback2.show({
title: "Awesome",
message: "That was great!",
duration: 2000
});
I'll investigate this further today.
from nativescript-feedback.
Aha, it has to do with the icons not being found when a type
is set (which is implicit for the success
(etc) functions. And that's because the resource folder may be in a different location than what the plugin expects it to be.
from nativescript-feedback.
Please update to 1.3.3 and remove the platforms folder, then run tns run android
and it should work again.
from nativescript-feedback.
@EddyVerbruggen was this throwing Error: Uncaught (in promise): Error: android.content.res.Resources$NotFoundException: Resource ID #0x0 android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:216)
I'm seeing this on a Samsung device in the wild on a production app, sentry log here.
I'm currently looking at when the 1.0.00 release was done which looks to be December 11th 2018. And we had ^1.3.1
for the dep.
from nativescript-feedback.
Looks like npm view
reports 1.3.3
published on Dec. 10, 2018. So I would have pulled in 1.3.3
on the 11th when the build was processed.
The sentry log stack trace reports back to a call to warning
on feedback instance so I'll see what I can find out.
from nativescript-feedback.
Unless package-lock.json or some other local cache said otherwise. Reason number 45347 why I hate using ^
(and even ~
in dependencies of production apps).
Can you perhaps decompile the app to make sure?
from nativescript-feedback.
I've went thru a few builds and all the 1.3.x
versions to try and find anything.
I also avoid not pinning the version, this and one of my plugins were the only ones with ^
At any rate, this seems to be specific to this Samsung device. It works fine on my emulators and Pixel2. So I'm now looking to see if I can find anything about this device.
from nativescript-feedback.
No worries though, for now I'm just going to use my own icon for this .warning
usage and move on. Since only the Samsung device throws it, there is no telling what's happening
Thanks tho
from nativescript-feedback.
Related Issues (20)
- failed to build plugin nativescript feedback HOT 2
- Remove the .aar buildstep when the app is built
- Anyone have a working example with $navigateTo?
- Vue-demo doesn't work HOT 3
- Better NativeScript 6 compatibility
- Anyway to stop the pulse on the icon on android HOT 1
- Custom message text formatting HOT 1
- IOS Not Working HOT 1
- Error: android.view.InflateException using nativescript plugin-feedback HOT 1
- feat: Normal text like in Slack
- Allow mipmap's as icon
- [Android] TypeError this.lastAlert.getTitle is not a function HOT 4
- Snackbar out of screen when keyboard is showing with android:windowSoftInputMode="adjustPan"
- Error being raised "this.lastAlert.getTitle is not a function"
- notification icon from url image
- You are trying to set "Companion" which is a final field!
- NativeScript 7 Support HOT 1
- Use font awesome icon HOT 1
- Realtime data for fitbit
- RTL : Right to left support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-feedback.