Git Product home page Git Product logo

ane-googleplus's People

Contributors

marchbold avatar

Watchers

 avatar  avatar  avatar  avatar

ane-googleplus's Issues

Android null data on signIn

I use this extension for my google play application.
SignIn is OK: googleplus:signin:success

But I can't retrieve any data. Everything is null.

[iOS] Auth token and auth code were received, but none works

I managed to get it to work on Android by using the Web Auth key instead of the Android one, but there's a need for another key for iOS. I pass the iOS key there (so the service is initialized with both Web and iOS keys), I get the auth token and auth code, but none works (I'm using GameSparks for server-size authorization and I can only set one key there, so I use the Web key). What am I missing?

How to get the app key

Hi,

I bought the google+ extension from your site. While going through the code i found that i need to enter the app key in order to access it.

Can you please let me how i can get the app key mentioned in code.

public static const APP_KEY : String = "APPLICATION_KEY"; -- "I want this"


public static const CLIENT_ID : String = "YOUR_GOOGLE_API_CLIENT_ID";

Regards,
Kartik

I got the solution.

Thanks.

OAuth token

For our project, we need OAuth token for login purposes in server side. We saw that is already implemented in your GameService ANE. Is it possible to bring that feature to this ane?

Verified key error

Hi,
I followed the getting started directions as well as used the example code, however I'm getting the following error:

"Your key was not able to be verified for the com.distriqt.GooglePlus native extension"

I'm stuck at this point, so any help would be great.

thanks,
rich

Question about disconnect()

Hi
Do you know if there is some sort of time limit involved where you have to have signed in for a certain amount of time before you can disconnect?

Everytime I call GooglePlus.service.disconnect() it responds with false.

GooglePlus.service.signIn() and GooglePlus.service.signOut() are both working as expected.

Air SDK 20+ App Verification Failed on IOS

Google Plus ANE produces me an error when installing the ipa on IOS Device : Application Verification Failed. Apparently, this problem comes from the presense of some files named Info.plist in the ANE.

This bug was described in this thread :
https://forums.adobe.com/thread/2056773

Adobe team says :

As I see, there was an Info.plist file inside the ANE hence it was not able to install on the device.

My configuration :
Windows 7 / 64 bits
The bug appears with Air 20, Air 21, and Air 22 beta

I'm sure that this error comes from Google Plus ANE as i tried to isolate all ANE separately

Signin, handler not called

Hi,

I'm attempting to connect, but no handler are called.

I'm testing on Android 5.1.1,
i call this code for connecting :

Core.init();
try
{
GooglePlus.init(APPLICATION_KEY);
GooglePlus.service.addEventListener( GooglePlusEvent.SIGN_IN_SUCCESS, signIn_successHandler);
GooglePlus.service.addEventListener( GooglePlusEvent.SIGN_IN_FAILED, signIn_failedHandler);

GooglePlus.service.initialise(_clientID);
GooglePlus.service.signIn();
}
catch (e:Error){
    trace("ANE_social_google, error :\n" + e.message);
}

Where APPLICATION_KEY is the key i generated on airnativeextension.com (with the exact same application id, and already enabled for GooglePlus)

_clientID is the OAuth 2.0 Client ID for Android generated on the google API console, looking like :
00000000000-aaaaaaaaaaaaaaaaaaaaaaaaaaaa.apps.googleusercontent.com

I included GooglePlayServices ANE as it is required.

My AIR Version is 21, and i updated the dx.jar with the one you provide by link.

When i try to debug with logcat, i just see from the ANE logs :

InitialiseFunction::call
SignInFunction::call
GooglePlusConnection::SignIn

Thanks in advance

Person.imageUrl and Person.url are null (IOS)

Hi,

i'm testing on IOS

After signIn success, i do

var person:Person = GooglePlus.service.getPerson();

where person.id and person.displayName are correctly populated,
but person.imageUrl and person.url are null.

can't signIn

Whenever I do-I can't signIn. You have sample with FlashBuilder. I try it with FlashDevelop and InteliJ and without success. I'm working on project and breaking all deadlines with this issue.
screen shot 05-23-16 at 11 39 pm 001

serverAuthToken is empty (IOS)

I'm trying to access the token in order to play with REST API.

in signIn success handler :
event.user.authentication.serverAuthToken is empty
event.user.authentication.idToken is not helpful and not recognize as an authentification token by google.

Thanks in advance. (and sorry for the multiple issues reporting !)

Issues on Android & Conflict with Milkman GoViral ANE

I am currently working with Distriqt G+ ANE. My setup is this:

  1. AIR 16 with correct dx.jar provided in Distriqt tutorials.
  2. Using the Demoproject provided with District ANE
  3. Samsung Galaxy S-Plus (GT-I9001) with Android 2.3.6 for testing
  4. OAUTH IDs all set up correctly, it works perfectly on iOS
  5. GooglePlay and Core ANEs are included (even though former not necessary on iOS)

Problem #1: So i get the following very weird behavior with demo project (on Android):

first call to signIn just does nothing.
second call to signIn takes me to google plus application.
i can select the account i want to use. but i can click on it and nothing happens. i can click 2-3 times usually.
it switches back to the app, but triggers none of the event handlers
-> steps are repeatable and i never get any events back if you search for the app id in the cat log the only thing are the traces from the app and

08-19 18:18:32.031 I/GLSUser (4626): [GLSUser] getTokenFromGoogle [account: , callingPkg: air.my.com.zas.lefiner, service: oauth2:https://www.googleapis.com/auth/plus.login

Problem #2: If i try to implement this into my main app which uses several other ANEs.

com.distriqt.PushNotifications
com.itpointlab.ane.FlashLight
com.milkmangames.extensions.GoViral
com.distriqt.GooglePlus
com.distriqt.Core
com.distriqt.GooglePlayServices
I can't compile. With a very long error.

dx tool failed : warning : Ignoring InnerClasses attribute for an anonymous inner class (com.facebook.AppEventsLogger$1) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is not an inner class.
This block is repeated with dozens of other classes most of them in com.milkmangames.extensions.* some also having cryptic names like c.m.x.a.gv.al

At the end there is a memory error:

UNEXPECTED TOP-LEVEL ERROR: java.lang.OutOfMemoryError: Java heap space at com.android.dx.util.IntList.growIfNeeded(IntList.java:274) at com.android.dx.util.IntList.add(IntList.java:217)
...
Has anybody ever encountered similar problems with these 2 ANEs or just the G+ ANE on the old android phone?

g+ login not working in cyanogen OS

Hi,

is there anything other to configure to make it working on cyanogen OS?

I can see the account popup once i tap on g+ button but after that nothing is happening. Can you please check and let me know how i can resolve this issue.

Regards,
Kartik.

Not able to login

While trying to sign in it gives error "An internal error has occurred".

Can you please let me know how i can resolve this.

P.S. previously it was working fine

Regards,
Kartik.

Url error message after sign in

Hello, with the sample a basic sign-in, on the redirection after the 'authorize' button, it stuck on the safari app with an alert message saying: "Can't open the page: 'cause the URL is invalid"

(Test on IOS)

Thanks

Can't run extension

I can't run extension. I have FlashDevelop empty test project and I have fallowing error:

This is without any addition to xml manifest . After I add this
screen shot 05-08-16 at 07 55 pm




Any clue?

Update ANE-GooglePlus as well as ANE-GoogleIdentity

Hi @marchbold Michael,

Please update ANE-GooglePlus as well as ANE-GoogleIdentity. Because ANE-GoogleIdentity works perfect on both platforms.

ANE-GooglePlus has some issues on iOS:

1 Difference between onInvoke openUrl args: com.flirtymania.videochat:/oauth2callback?state=9332241&code=4/nplDPoksTuL0ueU_EQISeiPkNHBbv0kzXk04TlhtGYw&authuser=0&hd=exastudio.ru&session_state=378e6019f21cfdaeaa23868c3c0364279f7fdd5e..0777&prompt=consent#,com.apple.mobilesafari

and

serverauthtoken-difference-with-oninvoke-args

2 GooglePlus.service.signIn(); is opened Safari instead of SafariWebView inside app.

I think if you update this ANE-GooglePlus as well as ANE-GoogleIdentity all issues will be resolved.

Best regards,
Dmitrii

Errors when uploading IPA with application Loader

Hi

I tried an upload today for testflight :

i have 4 errors related to the Google Plus ANE :

ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/Math Calendar.app/GooglePlus.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."

ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/Math Calendar.app/GooglePlus.bundle/GPPCommonSharedResources.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."

ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/Math Calendar.app/GooglePlus.bundle/GPPShareboxSharedResources.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."

ERROR ITMS-90158: "The following URL schemes found in your app are not in the correct format: [URL_SCHEME]. URL schemes need to begin with an alphabetic character, and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only. Please see RFC1738 for more detail."

(Error number 4 is my fault, it's because i have

<key>CFBundleURLSchemes</key>
<array>
    <string>fb1400090730007950</string>
    <string>URL_SCHEME</string>
</array>

because i don't know what to replace URL_SCHEME and URL_NAME with... ?

Cheers

unnamed

TestFairy & ANE conflict

Hi,

i had a very weird issue using TestFairy for distribution.
The ANE works fine when debugging and being directly distributed.
But if i distribute via TestFairy, it fails to login. No events are dispatched.
I call signIn, the dialog for selecting my G+ account pops up, when i select account and get back to the app no event is dispatched by the ANE. Sometimes login succeeds but this is rather a rare case.

TestFairy sends screenshots of the usage to the servers and tracks other data and somehow this prevents the ANE from functioning correctly.

I don't know if this is a real issue with the ANE but it is still something that might happen to a lot of people and took me a few hours to figure out. So just wanted to let you know about this strange behavior.

GooglePlus signIn not working

GooglePlus.service.addEventListener( GooglePlusEvent.SETUP_COMPLETE, setupCompleteHandler );
var options:GooglePlusOptions = new GooglePlusOptions(googlePlayClientID);

GooglePlus.service.setup(options);
GooglePlus.service.signIn();

also SETUP_COMPLETE handler not fire. where i made mistake

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.