Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Discrepancy between simulator and real device
Started by leif.helge Jan 12 2020 07:38 AM

No replies to this topic
showalert
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

leif.helge

[GLOBAL: userInfoPane.html]
leif.helge
  • Observer

  • 7 posts
  • Corona SDK

I recently had some headache with my Corona code. It ran OK on the Corona simulator but not on the device (Huawei P20 Pro). It turned out to be the launching of a showAlert() from within another showAlert().

 

This works perfectly on the simulator, but not on the device. To make it work, I had to escape from the first showAlert() before launching the new.

 

Hope this can help other people running into similar problems.

 

Leif

 




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: showalert