Giter VIP home page Giter VIP logo

Comments (4)

kaliosek avatar kaliosek commented on September 22, 2024

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.

bellalMohamed avatar bellalMohamed commented on September 22, 2024

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.

EddyVerbruggen avatar EddyVerbruggen commented on September 22, 2024

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.

dosomder avatar dosomder commented on September 22, 2024

I will make PR to the plugin and then make a PR here as well to fix it!

from nativescript-feedback.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.