Jump to content
Anto90

iOS TLocationSensor crash

Recommended Posts

hello,

I have a strange behavior. When I active TLocationSensor like sensor.active = true When there is no internet connection the app crash and close. This is on IOS 18.2.1 and sdk 18.2.1 and the last Xcode and delphi 12.2. Someone has this issue?

 

thank

andrea

Share this post


Link to post
10 hours ago, Anto90 said:

Someone has this issue?

I'm not having that issue, using the same SDK etc as you. I created a basic app with just a TLocationSensor and a TButton, and set Active to True when clicking the button. Works OK even if no internet connection.

Share this post


Link to post
2 hours ago, Dave Nottage said:

I'm not having that issue, using the same SDK etc as you. I created a basic app with just a TLocationSensor and a TButton, and set Active to True when clicking the button. Works OK even if no internet connection.

Ho Dave,

thank you for response.

i active the sensor in the formshow. I have also a twebbrowser in a form. But if you have internet io and then you have a slow internet signal o you turn off internet signal the app crash. The app use Also notification of kastri and firebase. The authorization is requested at runtime.

 

thank you

Share this post


Link to post
5 minutes ago, Anto90 said:

i active the sensor in the formshow

Still no crash.

6 minutes ago, Anto90 said:

I have also a twebbrowser in a form. But if you have internet io and then you have a slow internet signal o you turn off internet signal the app crash. The app use Also notification of kastri and firebase. The authorization is requested at runtime.

In future, please describe what is in your app when you first ask the question. Please provide a complete, reproducible example, i.e. just enough to reproduce the crash.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×