Android native.showPopup does not work on live build

Hi,

I am working on one of my application in corona , I recently encountered that if we use Live Build then native.showPopup will not work on the device.

As of my work is in development phase so I was using live-build while working to test, but I got stuck for the simple popup that we use regularly.

I cross-checked from build settings - source code but I failed.

But after spending much time, I realized that the same code work in actual build whereas in live-build it fails to run.

Dear Rob, Do please update this in gotcha of native.showPopup that it will not work in live build.

Thanks,

Assif

Can you provide an example?  What specific popup are you talking about?

i.e. I think you need to provide a complete working example that demonstrates this.  Otherwise, the team won’t know which specific feature you’re talking about.

Don’t want to waste their time hunting for this.

Also, (just a thought) are you sure you didn’t change your build.settings file or something like that AFTER creating the live build?

If you did, those changes would not have taken effect and if they were needed for the pop-up it would not have worked in turn.

A sample project would certainly be helpful.

Rob

Hi there,
I prepared the sample project for the same.

And it is working perfectly on both live-build & actual.

I think I need to check with my build.settings, coz in the sample I have used the same source code.

So there would not issue with source code but yes seems with build file.

Perhaps,
Much thanks, both of you for quick response & guidance.

Assif

Just remember, if you make changes to build.settings or config.lua you do have to do a new build from the simulator and re-install it. Live builds doesn’t pick up changes in those two files.

Rob

Can you provide an example?  What specific popup are you talking about?

i.e. I think you need to provide a complete working example that demonstrates this.  Otherwise, the team won’t know which specific feature you’re talking about.

Don’t want to waste their time hunting for this.

Also, (just a thought) are you sure you didn’t change your build.settings file or something like that AFTER creating the live build?

If you did, those changes would not have taken effect and if they were needed for the pop-up it would not have worked in turn.

A sample project would certainly be helpful.

Rob

Hi there,
I prepared the sample project for the same.

And it is working perfectly on both live-build & actual.

I think I need to check with my build.settings, coz in the sample I have used the same source code.

So there would not issue with source code but yes seems with build file.

Perhaps,
Much thanks, both of you for quick response & guidance.

Assif

Just remember, if you make changes to build.settings or config.lua you do have to do a new build from the simulator and re-install it. Live builds doesn’t pick up changes in those two files.

Rob