HybridKit-JS icon indicating copy to clipboard operation
HybridKit-JS copied to clipboard

Run 2 commands got issue?

Open daicaga opened this issue 9 years ago • 0 comments

Hi @clayallsopp

I have an issue. Please take a look and improve your library if you think it is necessary.

I have a button call 'Generate PDF'. When user tap on that button, I will send a command "show_app_indicator" to Native code to show indicator. Then I call function generatePDF file from data (It might be take a lot of time or just a bit, depends on the Data). After I generated the PDF file. I run a mother command call "generate_done" to Native know the progress is done (it will hide indicator at this time).

But my issue is: The first command cannot send to native, only the second send to. I don't know why, may be the second one replace the first one. (Currently, I don't have enough data to test with BIG data generate).

Thanks for your advance! Ga

daicaga avatar Jun 17 '15 07:06 daicaga