We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my code: String otherpath = '${(await _filePath)}/otherepub.epub'; ByteData data = await rootBundle.load("assets/frank.epub"); List<int> bytes = data.buffer.asUint8List(data.offsetInBytes, data.lengthInBytes); await File(otherpath).writeAsBytes(bytes); Navigator.push(context, MaterialPageRoute(builder: (context) => EpubScreen.fromPath(filePath: otherpath)));
String otherpath = '${(await _filePath)}/otherepub.epub'; ByteData data = await rootBundle.load("assets/frank.epub"); List<int> bytes = data.buffer.asUint8List(data.offsetInBytes, data.lengthInBytes); await File(otherpath).writeAsBytes(bytes); Navigator.push(context, MaterialPageRoute(builder: (context) => EpubScreen.fromPath(filePath: otherpath)));
Webpage not available net:ERR_CLEARTEXT_NOT_PERMITTED
is shown on the app.
I/chromium(10556): [INFO:CONSOLE(1)] "Uncaught ReferenceError: xpub is not defined", source: chrome-error://chromewebdata/ (1)
is the error code showing on the android studio console.
The text was updated successfully, but these errors were encountered:
The current workaround is that the widget user must put android:usesCleartextTraffic="true" in their AndroidManifest.xml.
android:usesCleartextTraffic="true"
Sorry, something went wrong.
No branches or pull requests
my code:
String otherpath = '${(await _filePath)}/otherepub.epub'; ByteData data = await rootBundle.load("assets/frank.epub"); List<int> bytes = data.buffer.asUint8List(data.offsetInBytes, data.lengthInBytes); await File(otherpath).writeAsBytes(bytes); Navigator.push(context, MaterialPageRoute(builder: (context) => EpubScreen.fromPath(filePath: otherpath)));
Webpage not available
net:ERR_CLEARTEXT_NOT_PERMITTED
is shown on the app.
I/chromium(10556): [INFO:CONSOLE(1)] "Uncaught ReferenceError: xpub is not defined", source: chrome-error://chromewebdata/ (1)
is the error code showing on the android studio console.
The text was updated successfully, but these errors were encountered: