pdf_flutter icon indicating copy to clipboard operation
pdf_flutter copied to clipboard

Hyperlink click get app crash

Open lavahasif opened this issue 5 years ago • 3 comments

android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?

lavahasif avatar Sep 16 '20 09:09 lavahasif

Can you provide the file/URL of that pdf in which it crashes?

A sample file/url would be really helpful in investigating.

I am sorry about not being very active in fixing issue on this plugin as my current work almost doesn't use PDF

erluxman avatar Nov 02 '20 08:11 erluxman

I am also facing the same issue - I am using it on Android as of now Just so you know it works absolutely fine when I am in Development Mode but when I release the app on accessing the URL it crashes Here is a sample URL https://www.asianonline.in/app_api/invoice/order_GMQp0gtaaNNXml.pdf

vkmittal avatar Jan 08 '21 06:01 vkmittal

I am also facing the same issue - I am using it on Android as of now Just so you know it works absolutely fine when I am in Development Mode but when I release the app on accessing the URL it crashes Here is a sample URL https://www.asianonline.in/app_api/invoice/order_GMQp0gtaaNNXml.pdf

Same here

Arjun3010 avatar Jan 09 '21 14:01 Arjun3010