EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 444 forks source link

Nativescript + Angular App randomly closes without printing any errors #1488

Open hermandinho opened 4 years ago

hermandinho commented 4 years ago

Hello @EddyVerbruggen. Thanks for this great plugin.

Please I am currently facing an issue with my app. I need to display an Interstitial Ad when the user navigates to a details page. It works fine, but sometimes, if I navigate back to the home page and try to access the details page again, the app just closes without displaying any errors. Here is my tns info

image

When i take a look at the logcat, i see some error i donnot understand just befor this happens:

image

Plugin version

"nativescript-plugin-firebase": "10.2.0"

Regards.

EddyVerbruggen commented 4 years ago

Please share a little demo reproducing this issue.

hermandinho commented 4 years ago

Hello @EddyVerbruggen I donnot know why but i could not directly upload the video, so i zipped it.

bug.avi.zip

EddyVerbruggen commented 4 years ago

Hi @hermandinho, that file seems corrupt somehow - I can't watch it. But what I actually meant: can you share a demo app?

hermandinho commented 4 years ago

Re-hello @EddyVerbruggen

this is my repo if it helps.

EddyVerbruggen commented 4 years ago

@hermandinho I tried your repo but get a build failure on iOS. I saw it has a ton of plugins - can you please just give me a stripped down app which only reproduces the issue. No login, no other plugins, just show the problem.

hermandinho commented 4 years ago

Re hello @EddyVerbruggen I donnot know what is going on now, but I have tried creating a demo projet but as soon as i add the this plugin, build fails with error

Unable to apply changes on device: emulator-5554. Error is: Socket connection timed out..

So I will juste try to explain what I do in my app that produces my error:

In my home component a a list of Items and I show a banner ad in OnInit (Which works fine):

image

When I tap on an Item, I move to details page where I Randomly display an ad (Interstitial) or not:

image

This works fine.

But sometimes, if I go back to home and tap again on an Item, the app just closes without displying any arror.

I do not know if it is clear.

Regards