Comments (4)
Hi, the same error is with getText(). Tested on android simulator.
JS: ERROR Error: Uncaught (in promise): TypeError: this.lastAlert.getText is not a function
JS: TypeError: this.lastAlert.getText is not a function
JS: at file: node_modules/nativescript-feedback/feedback.android.js:96:0
JS: at new ZoneAwarePromise (file: node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js:902:0)
JS: at Feedback.show (file: node_modules/nativescript-feedback/feedback.android.js:15:0)
JS: at Feedback.success (file: node_modules/nativescript-feedback/feedback.common.js:19:0)
JS: at SafeSubscriber._next (file: src/app/modules/auth/components/password-reset/confirmation/confirmation.component.ts:89:26)
from nativescript-feedback.
regarding this issue I did some debugging and researches here's what I found.
setTitleAppearance
getTitle()
&& getText()
functions have been removed from the main plugin, but fortunately someone opened an issue to bring back these two functions, and hopefully he'll submit a PR soon Set color / fontsize dynamically #228
as a temporary fix right now we can use "setTitleAppearance" and "setTextAppearance" to change title and text color, but unfortunately there's no possible way to change the font size - as far as I know and tried -
I've fixed this issue but didn't make a PR as it will contain breaking changes for people expecting to be able to resize, but lookin to the current state that we're getting errors either ways I'll make a PR.
@EddyVerbruggen will appreciate your answer
from nativescript-feedback.
Sounds like folks will need to use the previous plugin version if they need those features. Would be great if the upstream merges a PR to bring 'em back!
from nativescript-feedback.
I will make PR to the plugin and then make a PR here as well to fix it!
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
- 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.