ReallySmallSoftware / cordova-plugin-firestore

A Google Firebase Firestore plugin to enable realtime synchronisation between app and cloud and automatically handle limited connectivity.
Other
22 stars 10 forks source link

fix: example error with empty config key #27

Open bazuka5801 opened 4 years ago

bazuka5801 commented 4 years ago

Fixes: #28

I spent few hours to understand where my bug, and I think many people who want use this plugin intersects with this problem. remove config key from initialization, because if we use this key with empty, calling firestore throwing errors.

Fixes #

Android image

IOS image

What I think? I think may be add same additional checking appid in config object for android as in IOS code.=

Proposed Changes