Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

native.newTextField is reason of crash.
Started by usmanmughal.uog Sep 12 2019 11:51 AM

3 replies to this topic
native native.newtextfield moreinfo plugin keyboard on focus textfield on enter focus keyboard
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

usmanmughal.uog

[GLOBAL: userInfoPane.html]
usmanmughal.uog
  • Enthusiast

  • 66 posts
  • Corona SDK

Hi Corona Team,

I think I found a bug with native.newTextField. native.newTextField crashes the app on taking focus on textField when I used moreinfo plugin from Scott.

Please find the attached project that produces the crash on iOS device.

@Rob, @Scott can you guys please take a close look for this bug. Thanks.

Regards,

Usman Mughal

Attached Files



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,062 posts
  • Enterprise

Hi Usman. Your test does fail on my iPhone 10 and simply commenting out plugin.moreinfo causes the crash to go away.

 

I don't know how much Scott watches the forums, so you may need to reach out to him directly.

 

Rob



[TOPIC: post.html]
#3

usmanmughal.uog

[GLOBAL: userInfoPane.html]
usmanmughal.uog
  • Enthusiast

  • 66 posts
  • Corona SDK

Thanks Rob. I will send him email too.



[TOPIC: post.html]
#4

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,807 posts
  • Enterprise

local moreinfo = require("plugin.moreInfo")
moreinfo.init() -- add this part

You need to init the plugin




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: native, native.newtextfield, moreinfo, plugin, keyboard, on focus, textfield, on enter, focus keyboard