MediaPlayer and some issues on iOS


Eduardo Alfaro

Hello,

During a couple of months, I have tried AppBuilder on Android, and it is working sooooo good!!! ;-D
Right know, I am trying to do the same on iOS platform, I would like to develop Apps with AppBuilder for both platforms.

I am having issues with MediaPlayer control, and the XCode console reports some errors when I try to build the App for testing on virtual device.

MediaPlayer "controls" are always visible, does not matter if you set "controls" to false or true, always are visible. I have used this control sometime to playback an intro video, presentation, advertisement... I need to hide the "controls" to avoid fast-forward, so the user MUST see the whole video to continue.

I really do not try the APP built on a real device, I have tried always on virtual device. Please, see the attached picture. The MediaPlayer control have by default the "controls" as false, so the "controls" should not appear, like they do.

Attached 1: [img=iphone_app_1.png]https://www.decsoftutils.com/_support/uploads/400f24908919b500b0f64fd42dd25218.png[/img]

The other thing, is XCode console errors, I have attached two pictures about this... I have tried some basic examples, and all of them reports more or less the same errors.

Attached 2: [img=iphone_app_2.png]https://www.decsoftutils.com/_support/uploads/69c946b10655ce9e7545c5b049fdbc5f.png[/img]
Attached 3: [img=iphone_app_3.jpg]https://www.decsoftutils.com/_support/uploads/315514c1e470ed7348b0ad01035c1cbe.jpg[/img]

Is there any way to solve those issues??? Maybe there are minor errors and there do not produce any issues on the App built. Any idea about how to solve the MediaPlayer control issue?

I will deeply test on iOs from now, so I will inform you about issues.

Thank you so much!!!
Eduardo


DecSoft

Hello Eduardo,

If you can try (at least one time) with a real device, please, do it. In order to try to solve the player issue, please, try to place the below line in the app's Options -> Cordova -> Configuration.

About the "errors", they appear only "warnings" but anyway I can't read it very well. You can try to build the application instead of just debug/compile it, then they do not include any debug information, and probably mitigates some of the refered "warnings".

To build the application use the Meu -> Run -> Build.

Please, try with the above and tell me what happend!



Eduardo Alfaro

Hello David,

As usually, thank you for your great support!!!
It is working so good!!! ;-D Now, the MediaPlayer hides all the "controls".
I will try in a real device very soon, I will tell you!

Thank you so much again.

Eduardo.


DecSoft

Hello Eduardo,

Hello David,

As usually, thank you for your great support!!!
It is working so good!!! ;-D Now, the MediaPlayer hides all the "controls".
I will try in a real device very soon, I will tell you!

Thank you so much again.

Eduardo.

Glad to know you got it! Maybe I can add the "AllowInlineMediaPlayback" (as well others...) into the app's Options -> Cordova -> iOS tab. But for now certainly we can use the app's Options -> Cordova -> Configuration to add this kind of stuff.

Please, let me know if you have any other questions!


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.