Flutter logging text cut when debugging for Web - flutter-web

I use flutter logging.
When logging
static final Logger log = new Logger('XXX');
log.info("This is a longer text to display in the console which will be truncated and I do not know why.");
I only get
[INFO ] 21:08:20 - XXX - This is a l…ole which will be truncated and I do not know why.
in the console when using flutter for web... while debugging for Android shows everything as expected.
What am I doing wrong?

Related

How to make a 3D model viewer android app?

I'm trying to make my own 3d viewer app.
I just want it works like,
Open an app (tap on my smartphone screen),
Show a 3d model,
Close the app when the back button is tapped.
Actually, I made an app (with Kotlin on android studio) that is working like my idea.
The app is working well with a file that is located on a server.
But I want to make an app that works without an internet connection.
How to import a file(glTF format) to the app.?
In the part,
.appendQueryParameter("file", "PATH/XXXX.gltf")
If the PATH is with "https//", it works with an internet connection.
but, How can I set the PATH local storage in order for the apps to work without internet connections?
Here is the kotlin code snippet that I'm using.
val sceneViewerIntent: Intent = Intent(Intent.ACTION_VIEW)
val intentUri: Uri = Uri.parse("https://arvr.google.com/scene-viewer/1.0").buildUpon()
.appendQueryParameter(
"file","ludovic_v2_gltf.gltf" //<<<<---- how to import this file?
//"https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/Avocado/glTF/Avocado.gltf"
//<<<--- with this line, works very well.
)
.appendQueryParameter("mode", "3d_only")
.build()
sceneViewerIntent.data = intentUri
sceneViewerIntent.setPackage("com.google.ar.core")
startActivity(sceneViewerIntent)
finish()
Thanks a lot!!!
This is my environment.
windows10, android-studio 20212.1Patch1(build on May 18,2022)
My project was started with "empty activity".

Docusign: Sample Code Cannot Connect to '/app-shell'?

I'm using the sample code provided by DocuSign in the Github project "qs-01-node-embed-signing-ceremony-master".
I've obtained and added my accessToken and accountId.
When the sample code is run via npm start, it displays an error message in the browser window:
Cannot GET /app-shell
Chrome dev tools shows this:
The sample code appears to contain no file named app-shell.
How can I correct this?
I looked at this sample code and tried it from scratch. I cannot find a file named workbox-core.dev.js in there and when I tried it - it worked just fine.
Please check if this is not something in your environment that may be causing this.
Try a new fresh clone from scratch just in case.
It looks like there are unaddressed caching anomalies with the demo code. Selecting "Empty Cache and Hard Reload" in Chrome fixed it.
After successfully signing the test doc, I still got the "Cannot GET /app-shell" message, but that glitch seems to be specific to the demo code.
Hopefully this is enough of a test for me to start implementing Docusign in my app.
Note: It appears that this demo was not built with create-react-app or other tech that auto-rebuilds and reloads the page when the source is edited.

Adding the new firebase console

I'm trying to add the new firebase console and while changing the gradle files an error kept popping up... The error message and its respective gradle file.

error during installation android app

i have an application that collect the motiondata from (accelermeter and gyrscope sensors ) of the android phone and smartwatches at same time). i have problem , when i install the App on the phone i got this error
E/GMPM: GoogleService failed to initialize, status: 10, Missing an expected resource: 'R.string.google_app_id' for initializing Google services. Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin.
E/GMPM: Scheduler not set. Not logging error/warn.
E/GMPM: Uploading is not possible. App measurement disabled
the App is designed to collect only five min of the user's motion data and then stop automatically and send the data from the watch to the phone.then finally the phone send the data to my email. howover , the current problem the app doesnt stop in the watch and didnt send the data to the phone .
could i get anyhelp please ?
with my respect.
I have same issue , just add this to string.xml
<string name="google_app_id">your app id</string>
You need to place the configuration file generated by this link
And then as quoted in step 3:
Copy the google-services.json file you just downloaded into the "app"
directory of your Android

WKWebView Swift - Get Console.log for javascript

Swift version - 4.2 or 5.0
I have WKWebView setup, which loadHTMLString. I am not able to get the console.log error messages that the JS code produce. I want to get this log within the app. Cannot change settings in safari. Thank You.

Resources