Crashing app on wifi view

Probably your app is very overloaded. It's possible that the aia is too big for the capabilities of ai2...

but I have 3 different apps and one is a test version and it contains no active blocks. Surely this one is not too big.

I don't have any crashes with my projects. I can test them in companion and I can build an apk. I can also export and import projects. So it must be some project problem. Try to export your project, otherwise we won't be able to help.

I have the apk, but the upload is not authorized on this page. can i pm it.

suddenly the aia works.
test2.aia (2.4 KB)

I see you are using Firebase. Maybe the problem is the same as here:

I had the same problem earlier and changed for the central american server. This is not my problem now.

Check your FirebaseToken:

eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkIjp7InVpZCI6IjA0ZjE4NGY2LTYwZDgtNDEzZS05MTE0LWJhMDYyZjc2NGY3MyIsInByb2plY3QiOiJ0ZXN0MiIsImRldmVsb3BlciI6Implc3BlcmtyYXJ1cDNAZ21haWw6Y29tIn0sInYiOjAsImV4cCI6MTY3MzQ1MTkzNDEsImlhdCI6MTY4MTgyNDk0MX0.cb6q1dfxGc5J2jLMojexz_Xygfn-o2GokO_Y8Ov9dVw

As Anke suggests there is something wrong with your Firebase settings, because with standard Firebase ai2 it works fine,

These settings have not been changed for a long time.

But maybe something changed internally in your firebase. With standard firebase it works, which you can check by checking "default" in firebase properties.

Is that a reason not to check it again anyway?

I have checked it but normally when something like this happends it is a mistake i have made, but a change that makes my application crash from firebase must give problems to other than me. I changed the token on all screens with firebase connechtion. No change. I will write firebase if they have a reason for the crash. Thank you for the help.

Build this simple app from scratch and then check if it works.

You are right. When i changed the firebase to default it stopped crashing. This is so strange.

JK

Do you mean the US-central server?

You were right after changing alle firebase tokens and Firebase urls to default and back to specifik ulrs and tokens made it work. Thanks a lot i would never have suspected the firebase was the problem.

1 Like

I thought it was solved, but after a short period the chrash returned. Ihave isolated the flaw to one firebase db, but the token have been changed and the url reinserted 1000 times nothing works. I see no difference on the to realtime dbs but one chrashes alle the time no matter which screen so the code is of the list of solutions. I have written firebase but no answers.

Show an example of your Firebase url

Also, if using the Firebase component, you do not actually need to include a firebase token (with a proper firebase project), you can leave that blank....

Of course we can continue guessing. .
Alternatively you just could use logcat

Taifun