Comments (12)
Thanks. I'll make the necessary updates.
from gigya-flutter-plugin.
Are you able to provide us with some error logs so we can investigate this?
If not, please open a support ticket providing the necessary data (which cannot be shared in open source).
Regards,
Tal
from gigya-flutter-plugin.
Sorry for the late. I can't provide you with a reproducible error because it only happens in the production release of our app, and we are not able to reliable reproduce the issue in debug mode. Also it happens in random time intervals.
Maybe if we got more debug info from the library when an error happens, or a way to at least debug network requests, we could get something.
This is the application: https://play.google.com/store/apps/details?id=es.sonypictures.reactions
This is the code fragment where we get the error:
try {
print('Google logging in...');
await GigyaSdk.instance.socialLogin(SocialProvider.google);
Get.offAll(GigyaLoginChecker());
print('Google Logged in OK');
} on GigyaResponse catch (e) {
if (e.getInterruption() == Interruption.pendingRegistration) {
print('handleGigyaMissingField');
handleGigyaMissingField(e);
return;
}
if (e.getInterruption() == Interruption.conflictingAccounts) {
LinkAccountResolver resolver =
GigyaSdk.instance.resolverFactory.getResolver(e);
final ConflictingAccounts conflictingAccounts =
await resolver.getConflictingAccounts();
_showLinkToSiteBottomSheet(
conflictingAccounts.loginID,
resolver,
);
return;
}
print(
'Unknown Error ${e.errorCode} ${e.errorDetails} ${e.statusCode} ${e.statusReason} ${e.callId} ${e.mapped} ${e.toString()}',
);
showErrorBottomSheet(
e.errorCode,
'Unknown interruption (${e.getInterruption()}): ${e.errorCode} ${e.errorDetails} ${e.statusCode} ${e.statusReason}',
);
}
We get a generic 400 error with no more information.
Those logs are visible in logcat. Also when logging the error in question, errorDetails is empty, and errorCode is 400
. getInterruption() is also null
.
We can't log any other kind of information. And this error just happens when using Google social login, and randomly between time intervals, so for example, it doesn't work for 5 minutes, don't mind how many times you try, and later it start working.
from gigya-flutter-plugin.
I will investigate and update. Thank you for the info.
from gigya-flutter-plugin.
Hi,
we have new info from the error: "Missing server client id. Check manifest implementation"
from gigya-flutter-plugin.
Hi,
Please follow guidelines to make sure that the Google auth library is properly implemented.
https://sap.github.io/gigya-android-sdk/sdk-core/#google
from gigya-flutter-plugin.
Thanks for the quick response,
Yes, we followed that guide. And the "missing server client id..." was our fault, we ported the project to sound safety and we didn't configure it properly.
Now we configured it, and we got the same error as before. It seems to have more android stack traces now (or they may not be related, not sure):
The last line full of nulls is us trying to print any info from the GigyaResponse:
'Unknown Error ${e.errorCode} ${e.errorDetails} ${e.statusCode} ${e.statusReason} ${e.callId} ${e.mapped} ${e.toString()}'
from gigya-flutter-plugin.
Your Android Core SDK is not yet configured correctly.
https://sap.github.io/gigya-android-sdk/sdk-core/#configuration
Please Add the HostActivity to your AndroidManifest.xml.
from gigya-flutter-plugin.
Hi,
thank you for your answers! We are still working on it.
The link to the configuration page in the Google section in Readme points to https://help.sap.com/docs/SAP_CUSTOMER_DATA_CLOUD?locale=en-US .
I think it should point to https://sap.github.io/gigya-android-sdk/sdk-core/#configuration.
from gigya-flutter-plugin.
Hi,
now we have new error information:
Unknown Error 400 null 0 null {localizedMessage: DEVELOPER_ERROR, callId: , errorCode: 400, statusCode: 0} Instance of 'GigyaResponse'
from gigya-flutter-plugin.
Hi,
DEVELOPER_ERROR is returned from Google.
This means that your implementation is not correct via the Google API console.
from gigya-flutter-plugin.
Hi,
we have fixed the error. In the end, we needed to add this line: classpath 'com.google.gms:google-services:4.3.10'
to this file: android/build.gradle
. Thanks for the help
from gigya-flutter-plugin.
Related Issues (20)
- Web Support HOT 4
- Consider making `statusCode` and `statusReason` deprecated.
- Consider improving the return types of methods that return a `Map<String, dynamic>`
- GigyaError with all null values - 1.0.0 HOT 3
- [Technical debt] Consider configuring the workspace to specify the recommended line length for `dart format`
- [Technical debt] Update the README to mention iOS 13 as the minimum
- Support `SFSafariViewController`
- [Technical Debt] Update Swift wrappers for Facebook & GoogleSignIn HOT 3
- Login session is lost after reopen the app HOT 5
- Gigya signup using credential getting Null error code. HOT 2
- Could not retrieve gigya-android-sdk:sdk-core:core-v6.2.1 HOT 5
- SDK swallows login exception details HOT 6
- Differing behaviour between platforms on account linking HOT 1
- Missing plugin exception in obfuscated build HOT 5
- onLogin sessionInfo missing on iOS HOT 1
- `cname` argument missing in sdk.init call HOT 4
- I am getting write mode violation error on sending phone number while doing registration in gigya through flutter. HOT 2
- [Android] `getAccount()` fails to parse PlatformException due to offline HOT 1
- Not able to log in using phone number in gigya
- Update to use latest Gigya iOS SDKs (Privacy Manifest) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gigya-flutter-plugin.