My app is written using nativescript 6.8.0, "@nativescript/core": "^6.5.15", "@nativescript/email": "^2.0.0", android: 6.5.3 and ios: 6.5.2
The app executes the following code properly and correctly determines that email is available on my iphone and my ipads. However when run on my daughter's ipad pro 4th Generation (the newest ipad) it sets the button5Visibility to collapsed. The app is using the same data on all devices so I know that the business.email is present and has a length greater than 0. I've tried this using the 1.6.0 version of the plugin (nativescript-email) and the latest 2.0 version (@nativescript/email).
business.button5Visibility = "visible";
if (business.email && business.email.trim().length > 0) {
email.available().then((avail: boolean) => {
if (!avail) {
business.button5Visibility = "collapsed";
};
})
} else {
business.button5Visibility = "collapsed";
}
My app is written using nativescript 6.8.0, "@nativescript/core": "^6.5.15", "@nativescript/email": "^2.0.0", android: 6.5.3 and ios: 6.5.2
The app executes the following code properly and correctly determines that email is available on my iphone and my ipads. However when run on my daughter's ipad pro 4th Generation (the newest ipad) it sets the button5Visibility to collapsed. The app is using the same data on all devices so I know that the business.email is present and has a length greater than 0. I've tried this using the 1.6.0 version of the plugin (nativescript-email) and the latest 2.0 version (@nativescript/email). business.button5Visibility = "visible"; if (business.email && business.email.trim().length > 0) { email.available().then((avail: boolean) => { if (!avail) { business.button5Visibility = "collapsed"; }; }) } else { business.button5Visibility = "collapsed"; }