App inventor + firebase


Is your firebase project using the US server or the EU one ?

If EU, then delete and create a new one with the US central server

1 Like

J ai fait united state americain

1 Like

You cannot append a value to a string.

Create a list in your tag, then you can append values to that list

2 Likes

You are using different projects (url)

image

1 Like

Je me suis trompé de photo,
Mais quand mm , l'application ne doit pas se fermer automatiquement à cause de faux URL ou abscence d'internet

How are you running your tests?

  • on a phone, or
  • in the stock MIT emulator?
1 Like

Sur smartphone android 10

Could you provide a test aia in order to check it ?

1 Like

fireBtest.aia (2.3 KB)

Deja j'ai laisser mon esp8266 fonctionner à ce compte firebase , il marche normale

Mais l'application ne marche pas sur le smartphone

Je travaille sur app inventor 4.6 offline

Ce que donne le reelTime maintenant :

This is a very old version of AI2 offline and wasn't update since 2018 I believe. If you want to use offline try AI2Offline download | SourceForge.net

I modified your aia in order to show you how appends works. I compiled it as apk, install it in my phone no errors. Works fine for me

fireBtest_1.aia (2.8 KB)

Apk to test

1 Like

Merci beaucoup dora , ton application a foctionné dans mon tel , je dois mainteant telecharger la version app inventor que tu la mise :heart_eyes:

J'ai installé la version 3.9 mais encore le même problème , pourtant tu m'a envoyé un apk qui marche correcte

I can verify it, using AI2Offline and firebase component doesn't work. App crash

 Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

Reported also in AI2OFFLINE custom package name - #10 by Anke

Test project was created online http://ai2.appinventor.mit.edu/

3 Likes

Merci , c'est maintenant que ça devient clair

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.