Net Blazor Hybrid app doesn't start after install

Solved
C
Christophe
Post & Telecommunications Luxembourg

Hello all,

We work with the onPremise version -> v15.5.1.1010

We have some new device Zebra TC78 under Android 13 (enrolled work managed).

Here is it the problem we’re facing actually.

We used visual studio 2022 for to create our mobile app Android.

But it’s not possible to start the app after deployment by mobicontrol.

The app open 1 second and close directly ..

If I push the app by visual studio , all work.

Well, first, I think it was some code on our app (permission), but after some tests NO ...

Because, if I take the template inside visual studio 2022 -> Net Maui Blazor Hybrid App.

I’ve just create the project base on the template, nothing change on code, build  for to create the apk.

Add the apk inside the package manager, and add the result into package inside mobicontrol.

Last step, I create a profile work managed, add the package to this profile and push on a TC78.

The result is, package is well installed but when I click on the app, the app open and close directly …

It’s the first time, we meet this kind of problem ..

Anyone have meet this problem ?

How i can see what's happen ?

thanks a lot

8 months ago
SOTI MobiControl
ANSWERS
RS
Rafael Schäfer
8 months ago

Try to grab adb logs if they show errors when you start your app.

MB

Hi Christophe,

are you using the app with the Kiosk mode?

What Device agent Version are you using?

as Rafael mentioned to that the Device logs to see what is happen.

Then you can search in the Debug logs and timestamp and Application name.

P
PSMOD@SOTI.net
8 months ago

Hi Christophe,

Thanks for posting on SOTI Pulse.  Also, thanks to Rafael and Marcus, for responding to the post, your expertise and willingness to help are greatly appreciated!

Christophe, has your query been resolved? If this post did not assist you in resolving the issue completely and you still have additional questions, please do not hesitate to reach out or you can contact SOTI Support (support@soti.net) to raise a support case and one of our support engineer will be there to assist you.

Kind Regards,

Technical Support | SOTI Inc.| support@soti.net | www.soti.net |

C
Christophe
8 months ago

Hello all,

after several search and spend time, the problem was the apk it's was on debug mode ..

With visual studio 2022, all dll are not include inside the apk in debug mode compare to visual studio 2017.

If i build in release mode in 2022, push to soti send to a device all works 

Good, in the begining i think we need to update the webview or something like this 

thanks for your time

Solution