Open edufruit opened 6 years ago
When I check google plus login it just hangs the app without any error message. Please help.
index.html on device ready :
window.plugins.googleplus.trySilentLogin ( { 'scopes': '', 'offline': false }, function (obj) { try { alert(' YES LOGGED IN GOOGLE '); } catch(e) { alert('google error exception : ' + e); } }, function (msg) { alert(' NOT LOGGED IN '); } );
config.xml :
<?xml version='1.0' encoding='utf-8'?> <widget id="com.phonegap.myapp1" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0"> <name>MyApp</name> <description> My App </description> <author email="support@phonegap.com" href="http://phonegap.com"> sqlchild </author> <preference name="android-minSdkVersion" value="17" /> <preference name='phonegap-version' value='cli-8.0.0' /> <preference name='pgb-builder-version' value='2' /> <plugin name="cordova-plugin-splashscreen" source="npm" spec="5.0.2"/> <plugin name="cordova-plugin-whitelist" source="npm" spec="~1.2.1" /> <hook src="scripts/cordova-google-services-version-gradle-fix.js" type="before_prepare" /> <platform name="android"> <framework src="com.google.android.gms:play-services-gcm:9.0.0" /> <framework src="com.android.support:support-v4:9.0.0" /> </platform> <plugin name="cordova-plugin-googleplus" source="npm" spec="5.3.0"></plugin> <platform name="android"> <resource-file src="app/google-services.json" target="app/google-services.json" /> </platform> <plugin name="cordova-plugin-firebase" spec="0.1.20" /> <content src="index.html" /> </widget>
same here
When I check google plus login it just hangs the app without any error message. Please help.
index.html on device ready :
config.xml :