Nexus 5 native.canShowPopup("sms") incorrect

Hello,

We have noticed an issue with device detection in the native api for a specific android test device we use.

In one of our app scenes we test whether a device is a phone or a tablet by using the native.canShowPopup( “sms” ) call. This works for many different iOS and Android devices, but the Nexus 5 Android Phone incorrectly reports that it cannot SMS.

Is this something that I should file a bug report for? It is incorrectly and consistently responding false. Or does this have to do with the phone itself, and how it’s incorrectly identifying itself?

Here are a few relevant pieces of system information, but with the important fields brought to the top:

canShowPopup SMS: : false

corona build: 2015.2646

platformName: Android
platformVersion: 5.1.1

model: Nexus 5

environment: device
targetAppStore: google
name: unknown
architectureInfo: ARM Neon

Hi @zabace,

Is there an SMS account enabled on the device, and you can send/receive messages completely outside and independently of the Corona app?

Thanks,

Brent

Okay…so, that revealed the issue. 

With his Nexus 5, the only SMS app he had on his phone with Hangouts.  He could send and receive SMS messages without issue. 

He installed Go SMS Pro and made sure that was the default SMS app, then, the Corona app was able to call the Go SMS Pro app without issue.  

Thanks, 

Andy

Hi @zabace,

Is there an SMS account enabled on the device, and you can send/receive messages completely outside and independently of the Corona app?

Thanks,

Brent

Okay…so, that revealed the issue. 

With his Nexus 5, the only SMS app he had on his phone with Hangouts.  He could send and receive SMS messages without issue. 

He installed Go SMS Pro and made sure that was the default SMS app, then, the Corona app was able to call the Go SMS Pro app without issue.  

Thanks, 

Andy