flutter app apk installed file,firebase_auth/unknown - flutter

apk file sign in or register will throw this error: [firebase_auth/unknown] com.google.firebase.j:an internal error has occurred.[json conversion failed! ] failed to parse error for string[ Error 403 (Forbidden)!!1 ...]
....
web app, chrome view works fine
enter image description here

Related

After upgrade from Flutter 2 to Flutter 3 on running automation, my app immediately crash after launch

We try to run Automation with Webdriver.io, Appium and appium flutter driver.
After upgrade from Flutter 2 to Flutter 3 app is crash immediately after launch. It's happen on both Android and iOS (physical and simulator devices).
App release with Flutter 2 is work correctly.
Build command:
flutter build apk --debug --target=./test_driver/build.dart
Run command:
npx wdio config/wdio.android.flutter.conf.js --spec tests/flutter_specs/app.test.spec.js
In Output get an error:
DEBUG webdriver: request failed due to response error: unknown error
ERROR webdriver: Request failed with status 500 due to unknown error: An unknown server-side error occurred while processing the command. Original error: Cannot read property 'match' of undefined
ERROR webdriver: unknown error: An unknown server-side error occurred while processing the command. Original error: Cannot read property 'match' of undefined
I cleaned npm node modules and package.lock and it didn't help.
My dependencies from package.json:
"dependencies":
"#wdio/appium-service": "^6.1.16",
"#wdio/cli": "^6.1.24",
"#wdio/jasmine-framework": "^6.1.23",
"#wdio/junit-reporter": "^7.5.3",
"#wdio/local-runner": "^6.1.24",
"#wdio/sauce-service": "^6.1.16",
"#wdio/spec-reporter": "^6.1.23",
"#wdio/sync": "^6.1.14",
"appium": "^1.21.0",
"appium-flutter-driver": "0.0.4",
"appium-flutter-finder": "^0.1.0",
"babel-eslint": "^10.1.0",
"node-fetch": "^2.6.0",
"webdriverio": "^6.1.24"
},
"devDependencies": {
"npm-bundle": "^3.0.3"
},
"bundledDependencies": [
"#wdio/appium-service",
"#wdio/cli",
"#wdio/jasmine-framework",
"#wdio/junit-reporter",
"#wdio/local-runner",
"#wdio/sauce-service",
"#wdio/spec-reporter",
"#wdio/sync",
"babel-eslint",
"node-fetch",
"webdriverio"
]
### Update!!
We clone small flutter project with minimum dependencies: https://github.com/bitrise-dev/flutter-sample-app-hello-world
Before update to flutter 3 all works fine, but after it we get the same error mention before
Any help to solve the issue...

Flutter pub get failed (server unavailable) - Hanshake error in client

Every time I run
flutter pub get
on my project, I get the floowing error.
Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:359))
pub get failed (server unavailable) -- attempting retry 1 in 1 second...
The issue came after I formatted my laptop and installed flutter all over again. My internet is fine and fast, I have been using it for a long time to develop apps.
flutter doctor runs well and doesn't return any issue.
What could be the problem?

Unable to get percent_indicator dependency in flutter

I'm trying to use percent_indicator in my flutter project. When I give flutter pub get the following error I'm getting. This occurs only for this dependency. I tried the solution mentioned in the following link
https://github.com/flutter/flutter/issues/46641#issuecomment-631359661
https://stackoverflow.com/a/65785014/9455775
Error I'm getting
Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:354))
pub upgrade failed (server unavailable) -- attempting retry 1 in 1 second...
Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:354))
pub upgrade failed (server unavailable) -- attempting retry 2 in 2 seconds...
.
.
.
.
(Goes on )
But still no use.. Please let me know what went wrong here .
1- try to disable your antivirus | firewall
2- try to use vpn
3- run your cmd promt with anadministrator privileges and try again
restart your IDE before trying again
Created new project and added the dependency. It worked for me

Exception: ideviceinfo returned an error: ERROR: Could not connect to lockdownd, error code -17

I tried install flutter on my mac but these error always show up :
⢿Unhandled exception:
Exception: ideviceinfo returned an error:
ERROR: Could not connect to lockdownd, error code -17
can anyone help me?
I've tried many ways but the error always show up.
I think it is caused by having an iOS device plugged in to your computer. I had the same issue and it went away after unplugging my phone. You won't get this message if the device is plugged in and the computer is marked as a trusted device.

Getting INSTALL_FAILED_UPDATE_INCOMPATIBLE error

Appium Server version: 1.7.1
OS: Windows 8
While running the code I got
org.openqa.selenium.WebDriverException:
An unknown server-side error occurred while processing the command.
Original error:
Error executing adbExec.
Original error:
'Command 'D\:\\Android\\android-sdk\\platform-tools\\adb.exe -P 8080 -s ------ install C\:\\Users\\resi\\AppData\\Local\\Programs\\appium-desktop\\resources\\app\\node_modules\\appium\\node_modules\\appium-unlock \\bin\\unlock_apk-debug.apk' exited with code 1';
Stderr: 'Failed to install C:\Users\resi\AppData\Local\Programs\appium-desktop \resources\app\node_modules\appium\node_modules\appium-unlock\bin\unlock_apk-debug.apk:
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE:
Package io.appium.unlock signatures do not match the previously installed version; ignoring!]'; Code: '1'
error and Appium Setting page is opened and instant closed in real Android device instead of opening app (.apk file)
You need to cleanup the device you are using:
Go to Settings -> Apps
Delete you application under test using Uninstall for all users menu
Delete Appium Settings app
Restart your test and it should work