lohanidamodar / pdf_viewer

A flutter plugin for handling PDF files. Works on both Android & iOS
https://pub.dev/packages/advance_pdf_viewer
BSD 3-Clause "New" or "Revised" License
61 stars 144 forks source link

this plugin causes android release to not connect to firestore #73

Open idotalmor opened 3 years ago

idotalmor commented 3 years ago

Hi, I don't know why and I don't have the time to investigate, just inform you that installing this plugin causes the android release build to not connect to firestore for some strange reason.

when connecting the device to the mac and running on debug mode everything working fine. when you build for release and install on the android device the app can't connect to firestore with this error:

2021-08-05 12:35:50.798 31413-31459/? E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: [cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.

This is for sure because of this plug in - and it cost me a day and a half to figure it out.

please further investigate this bug and fix it since Firestore is highly used.

Best luck, ido