0

I have an app which works fine in browser mode (ionic serve) but when I try it with Android (cordova) a function of it does not work.

As in the image below, I want to get data from firebase database which works in browser (from the right side) but not in android (left side of image). It is the same code. What can be the problem ? When I inspect it: Error: typescript error: Object() is not a function

enter image description here

  • are u using any package?? – Akj Aug 09 '18 at 08:13
  • @UnluckyAj I use different plugins. I am new to ionic, I dont know what you mean sorry –  Aug 09 '18 at 09:20
  • please refer to ionicframework.com/docs/. – Akj Aug 09 '18 at 09:21
  • If you are using Angularfire2 then that library has a compatibility issue with RxJS. refer below answer. https://stackoverflow.com/questions/51126463/angularfiredatabase-does-not-retrieve-data/51285524#51285524 – Darpan Aug 14 '18 at 10:13

0 Answers0