Preview Release: Google iOS SDK's on NuGet

JonathanDickJonathanDick CAXamarin Team, Developer Group Leader Xamurai

The components team has been hard at work binding all of the SDK's that Google has made available on CocoaPods, and today we're excited to share a set of preview releases with you!

You may recognize that some of these SDK's already exist as components, however those are based on the old SDK downloads that Google has provided and are at least slightly different than the new way Google is now distributing them on CocoaPods.

Once the NuGet packages are ready for stable release, the components on the component store will be updated to use these packages. For now you'll need to go straight to NuGet to get the previews. The following packages are currently available in preview:

If you encounter any issues or have any suggestions please let us know by replying to this thread or creating a bug in bugzilla.

«1

Posts

  • JonathanDickJonathanDick CAXamarin Team, Developer Group Leader Xamurai
    edited August 2015

    Google+ Sign in and Apple App Store Rejections

    Some users have informed us that Apple is rejecting some app submissions that sign into Google by opening a sign in link in Safari instead of a webview within the app itself, which is how the Google Plus Sign In library works. You can see This Link for more information.

    Google's newer, separate Sign-In SDK which we have a NuGet package for should work around this issue, however it's not obvious to use this, especially if you're trying to use the Play Games or Plus SDK's.

    You can see a Xamarin.iOS Sample of using the new Sign-In SDK with the current Plus and Play Games SDKs here:
    https://github.com/Redth/GoogleSignInMigration

    This sample shows that it is possible to use the new Sign-In SDK's authentication information to create an OAuth2Authentication object that you can use with the older Google Plus and Play Games SDK's:

    class MySignInDelegate : ISignInDelegate 
    {
        [Export ("signIn:didSignInForUser:withError:")]
        void DidSignIn (SignIn signIn, GoogleUser user, NSError error) 
        {
            // Convert the new SignIn info into old format
            var myOAuth2AuthenticationInstance = new OAuth2Authentication {
                ClientId = signIn.ClientID,
                AccessToken = user.Authentication.AccessToken,
                ExpirationDate = user.Authentication.AccessTokenExpirationDate,
                RefreshToken = user.Authentication.RefreshToken,
                TokenURL = new NSUrl ("https://accounts.google.com/o/oauth2/token")
            };
    
            // Now we can use the new sign in results for the Plus API calls
            var plusService = new Google.OpenSource.ServicePlus {
                RetryEnabled = true,
                Authorizer = myOAuth2AuthenticationInstance
            };
        }
    }
    
  • ISSSTECALIISSSTECALI MXMember

    thanks great job,

    I was looking for several days

  • LuigiSaggeseLuigiSaggese ITDeveloper Group Leader ✭✭

    If could be helpful there is my working binding for Google SignIn

    https://github.com/luigisaggese/GoogleSignInXamarin

  • @JonathanDick I ran into a linking error trying to use the new Google Analytics Nuget instead of the old component:

    Error 112 Native linking error: file is universal (4 slices) but does not contain a(n) armv7s slice: /Users/.../Library/Caches/Xamarin/mtbs/builds/.../.../obj/iPhone/Release/mtouch-cache/libGoogleAnalytics.a file '/Users/.../Library/Caches/Xamarin/mtbs/builds/.../.../obj/iPhone/Release/mtouch-cache/libGoogleAnalytics.a' for architecture armv7s

    Am I missing anything or is this a known issue?

  • TimFTimF USMember

    @JonathanDick : Do you have an ETA for the Maps API?

  • JonathanDickJonathanDick CAXamarin Team, Developer Group Leader Xamurai

    @TimF there's a bug in the current stable Xamarin.iOS release that affects bindings to the latest Google Maps library (basically it messes up delegates and events - big time).

    Luckily there's a fix in Cycle 6 coming to Xamarin.iOS.

    In the meantime there's a bit of an ugly work around that we've made available in a binding here: https://www.dropbox.com/s/ylf7klxpfceppj5/GoogleMapsiOSWorkaround.zip?dl=0

    Basically, the workaround is that there are no events, and any delegate you implement now has all methods being abstract, so there are no optional methods (which is what was breaking and where the bug is). The other trick to it is some delegates now have abstract methods which require a return value that isn't immediately obvious. There should be a .cs file in this archive that has the default values as per the documentation.

    With this workaround version, it's a your mileage may vary and buyer beware situation. Feel free to play with it, but we won't be supporting the workaround, and otherwise you'll have to wait for the Cycle 6 release for a fix.

    Cheers

  • JonathanDickJonathanDick CAXamarin Team, Developer Group Leader Xamurai

    @PhilippeRollin Looks like the current release does not contain armv7s in the binary. Please try removing this architecture from your app. We'll have a look at including it back in future releases (if Google ships it - otherwise not much we can do).

  • TimFTimF USMember

    Thanks! I'll give this a shot.

  • GaborFurediGaborFuredi HUMember ✭✭

    @JonathanDick I can't upload the binary to the App Store with this package. I've attached the screenshot of the issues.

  • StephenWilkinsonStephenWilkinson USMember ✭✭
    edited September 2015

    I'm using the sign in NuGet ( 1.0.7-beta1 ) and sometimes (often?) the big blue 'g' sign in button doesn't respond to taps. It changes state, but nothing is triggered. This happens in the simulator and on device.
    *EDIT
    I found the problem. I had a tap gesture recognizer on my background view to dismiss the on-screen keyboard. For some reason the google sign in button fights with my tap recognizer. I had to add a dummy view that doesn't overlap the google button to put the recognizer on. The sign in button must be doing something strange because no other button (FB login or other 3rd party stuff) has this problem :(

  • IsraelSotoIsraelSoto MXXamarin Team Xamurai
    edited September 2015

    @GaborFuredi this issue is presented with all Google's bundles. We are working with a new release that doesn't contain the CFBundleExecutable key within the bundles.

  • GaborFurediGaborFuredi HUMember ✭✭

    @IsraelSoto thanks for the update! Do you have a planned release date for the new version, or not yet?

  • MichaelRidlandMichaelRidland AUInsider, University ✭✭✭

    @JonathanDick @IsraelSoto
    If we could get an estimated release date that would be great?

  • StephenWilkinsonStephenWilkinson USMember ✭✭

    This nested bundle bug is blocking us as well - please let us know when there's a new nuget up... Thanks!

  • StephenWilkinsonStephenWilkinson USMember ✭✭

    Since this is taking so long - I just used the binding that @LuigiSaggese created. Thank you, Luigi!

  • NateRickardNateRickard USMember, University, Certified XTC Partners
    edited October 2015

    Hah, nevermind the below, I dug into the reflected source and found the DictionaryBuilder and Fields types, sans the Gai prefix. Thanks again.


    @JonathanDick Thanks for this, anxious to get Google Analytics going as a Nuget package so we can work it into our automated build process.

    Any plans to bind GAIDictionaryBuilder? I'm really not looking forward to figuring out the correct NSDictionary structure/keys for each type... Ideally it would work like just the existing Xamarin component, where I can call GaiDictionaryBuilder.CreateScreenView ().Build ().

    It also seems to be missing the GAIFields class, which we use for custom dimensions among other things. So this call in Obj C:

    [tracker set:[GAIFields customDimensionForIndex:1]
        value:@"Premium user"];
    

    ...doesn't current seem to have an equivalent syntax in the new binding.

  • ISSSTECALIISSSTECALI MXMember

    any example of code to implement GCM on IOS??

  • wootwoot USMember

    Like @ISSSTECALI I also would love to see a GCM on iOS sample. I searched the forums and found this (https://forums.xamarin.com/discussion/47930/consuming-gcm-in-ios-samples) but the sample linked has unfortunately nothing to do with GCM.

  • ISSSTECALIISSSTECALI MXMember

    thanks @twoo that is one of my question. @JonathanDick you already implement GCM on IOS.

  • IsraelSotoIsraelSoto MXXamarin Team Xamurai

    @GaborFuredi, @MichaelRidland, @StephenWilkinson

    FYI, the latest versions of Google APIs have been released on NuGet.

    If you find any problem, please, file a bug on bugzilla.

    Thanks in advance and a big apology for the time we took to update them.

  • GaborFurediGaborFuredi HUMember ✭✭

    @IsraelSoto thanks a lot, I'll try it as soon as I can!

  • JonScaletJonScalet USMember

    Any ideas when you'll have Google Calendar included it this?

  • IainSmithIainSmith GBUniversity ✭✭

    Hi I'm getting an issue when creating a real-time multiplayer room in the Google Play Games Service

    libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: condition_variable::timed wait: mutex not locked: Operation not permitted
    2015-11-04 17:06:29.216 ProjectR.Touch[6760:3788074] critical: 
    Native stacktrace:
    
    2015-11-04 17:06:29.270 ProjectR.Touch[6760:3788074] critical:  0   ProjectR.Touch                      0x00bf4105 mono_handle_native_sigsegv + 240
    2015-11-04 17:06:29.270 ProjectR.Touch[6760:3788074] critical:  1   libsystem_platform.dylib            0x39aa785f _sigtramp + 42
    2015-11-04 17:06:29.270 ProjectR.Touch[6760:3788074] critical:  2   libsystem_pthread.dylib             0x39aabb47 pthread_kill + 62
    2015-11-04 17:06:29.271 ProjectR.Touch[6760:3788074] critical:  3   libsystem_c.dylib                   0x399a3f41 abort + 108
    2015-11-04 17:06:29.271 ProjectR.Touch[6760:3788074] critical:  4   libc++abi.dylib                     0x389a67dd __cxa_bad_cast + 0
    2015-11-04 17:06:29.271 ProjectR.Touch[6760:3788074] critical:  5   libc++abi.dylib                     0x389bf66b <redacted> + 214
    2015-11-04 17:06:29.271 ProjectR.Touch[6760:3788074] critical:  6   libobjc.A.dylib                     0x391ef0bd <redacted> + 228
    2015-11-04 17:06:29.272 ProjectR.Touch[6760:3788074] critical:  7   libc++abi.dylib                     0x389bce17 <redacted> + 78
    2015-11-04 17:06:29.272 ProjectR.Touch[6760:3788074] critical:  8   libc++abi.dylib                     0x389bc5f5 <redacted> + 0
    2015-11-04 17:06:29.272 ProjectR.Touch[6760:3788074] critical:  9   libc++.1.dylib                      0x3899f565 _ZNSt3__120__throw_system_errorEiPKc + 180
    2015-11-04 17:06:29.272 ProjectR.Touch[6760:3788074] critical:  10  libc++.1.dylib                      0x389606dd _ZNSt3__118condition_variable15__do_timed_waitERNS_11unique_lockINS_5mutexEEENS_6chrono10time_pointINS5_12system_clockENS5_8durationIxNS_5ratioILx1ELx1000000000EEEEEEE + 40
    2015-11-04 17:06:29.272 ProjectR.Touch[6760:3788074] critical:  11  ProjectR.Touch                      0x00aa5b2b _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 339702
    2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  12  ProjectR.Touch                      0x00b2f73d _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 903944
    2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  13  ProjectR.Touch                      0x00a174ef _ZN3gpg12GameServices12IsAuthorizedEv + 30858
    2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  14  ProjectR.Touch                      0x00a17b3d _ZN3gpg12GameServices12IsAuthorizedEv + 32472
    2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  15  ProjectR.Touch                      0x009d2655 _ZN3gpg18AchievementManager8FetchAllENS_10DataSourceERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_8functionIFvRKNS0_16FetchAllResponseEEEE + 282648
    2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  16  ProjectR.Touch                      0x009d24cb _ZN3gpg18AchievementManager8FetchAllENS_10DataSourceERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_8functionIFvRKNS0_16FetchAllResponseEEEE + 282254
    2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  17  ProjectR.Touch                      0x009d2215 _ZN3gpg18AchievementManager8FetchAllENS_10DataSourceERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_8functionIFvRKNS0_16FetchAllResponseEEEE + 281560
    2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  18  ProjectR.Touch                      0x00a67af1 _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 85692
    2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  19  ProjectR.Touch                      0x00a6783b _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 84998
    2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  20  ProjectR.Touch                      0x00a6b0a9 _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 99444
    2015-11-04 17:06:29.274 ProjectR.Touch[6760:3788074] critical:  21  ProjectR.Touch                      0x00a503cb _ZNK3gpg12ScoreSummary18CurrentPlayerScoreEv + 1846
    2015-11-04 17:06:29.274 ProjectR.Touch[6760:3788074] critical:  22  ProjectR.Touch                      0x00b47589 _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 1001812
    2015-11-04 17:06:29.274 ProjectR.Touch[6760:3788074] critical:  23  libsystem_pthread.dylib             0x39aaac7f <redacted> + 138
    2015-11-04 17:06:29.275 ProjectR.Touch[6760:3788074] critical:  24  libsystem_pthread.dylib             0x39aaabf3 _pthread_start + 110
    2015-11-04 17:06:29.275 ProjectR.Touch[6760:3788074] critical:  25  libsystem_pthread.dylib             0x39aa8a08 thread_start + 8
    2015-11-04 17:06:29.275 ProjectR.Touch[6760:3788074] critical: 
    =================================================================
    Got a SIGABRT while executing native code. This usually indicates
    a fatal error in the mono runtime or one of the native libraries 
    used by your application.
    =================================================================
    

    Think it is related to this issue https://github.com/playgameservices/play-games-plugin-for-unity/issues/275

    Seems to be fixed tho in 1.4.1 of the C++ SDK does this component use the iOS SDK?

    This is fixed in the latest plugin and C++ SDK. You'll need version 0.9.20 of the unity plugin and version 1.4.1 or higher of the C++ SDK. The C++ SDK for iOS contains the headers for Objective-C so feel free to try it out too!

    I also tried out the beta NuGet package, but it has the same problem. https://www.nuget.org/packages/Xamarin.Google.iOS.PlayGames

    Is this component open source? I'm really keen to fix this.

    Cheers,
    Iain

  • IainSmithIainSmith GBUniversity ✭✭

    Ah Sorry didnt see the bit above from @IsraelSoto I have filed a bug on bugzilla

  • josemmortegajosemmortega ESUniversity ✭✭✭

    Anybody use the Google Cloud Messaging? I have a problem when open the app first time. I got this exception message.

    [899:] <GMR/INFO> App measurement v.1100000 started
    [899:281805] You have enabled the CloudMessaging service in Developer Console, but it appears as though your Podfile is missing the line: 'pod "Google/CloudMessaging" or you may need to run pod update in your project directory.
    [899:281805] Successfully configured [].
    [899:281805] Failed to configure [].
    [899:281805] Subspecs not present, so not configured [Analytics, AdMob, SignIn, AppInvite, CloudMessaging, Maps].
    [899:281805] Subspecs expected to be present [CloudMessaging, Measurement].
    [899:] <GMR/INFO> Network status has changed. code, status: 2, Connected
    [899:281812] +[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x3ba74214
    [899:] <GMR/ERROR> Exception on worker queue: +[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x3ba74214

    Any idea?

    Thanks

  • MichaelStonisMichaelStonis USInsider, Beta, University, Developer Group Leader
    edited November 2015

    @IsrealSoto is there any chance of updating the nuget packages with the CFBundleExecutable fix? We are using the Xamarin.Google.iOS.SignIn version 2.3.1.0-beta3 and it looks like this is still an issue.

    EDIT: Looks like this package has the fix in it. Our build server must have had something cached out.

  • jeppelajeppela USMember

    Has anyone got the GCM component to work?

    I cannot build my project after the GCM component has been added. It fails with some native linking errors. I have created a bug, as I have tried with my existing project and a clean project. Both of them get the same error.

    Link to bug: https://bugzilla.xamarin.com/show_bug.cgi?id=36438

  • @JoseManuelMontero said:
    Anybody use the Google Cloud Messaging? I have a problem when open the app first time. I got this exception message.

    [899:] <GMR/INFO> App measurement v.1100000 started
    [899:281805] You have enabled the CloudMessaging service in Developer Console, but it appears as though your Podfile is missing the line: 'pod "Google/CloudMessaging" or you may need to run pod update in your project directory.
    [899:281805] Successfully configured [].
    [899:281805] Failed to configure [].
    [899:281805] Subspecs not present, so not configured [Analytics, AdMob, SignIn, AppInvite, CloudMessaging, Maps].
    [899:281805] Subspecs expected to be present [CloudMessaging, Measurement].
    [899:] <GMR/INFO> Network status has changed. code, status: 2, Connected
    [899:281812] +[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x3ba74214
    [899:] <GMR/ERROR> Exception on worker queue: +[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x3ba74214

    Any idea?

    Thanks

    I am also getting this error the first time i launch the app .
    <GMR/ERROR> Exception on worker queue: +[NSData gtm_dataByGzippingData:]: unrecognized selector sent to class 0x3ba74214
    Did you find any fix for this error?

  • josemmortegajosemmortega ESUniversity ✭✭✭

    @DutchXamarinDev No, I don't. But we opened a bugzilla report https://bugzilla.xamarin.com/show_bug.cgi?id=36466

  • BradMooreBradMoore AUMember ✭✭✭
    edited December 2015

    Trying to use Google.Analytics and Google.MobileAds and I get this. Going to do further tests to see if the issue is with using both packages at once, or if its Google.MobileAds or possibly just my project being silly.

    duplicate symbol OBJC_CLASS$_PodsDummy_Pods in:
    /Users/somepath/obj/iPhoneSimulator/Debug/mtouch-cache/libAdmobExporter.a(Pods-dummy.o)
    /Users/somepath/obj/iPhoneSimulator/Debug/mtouch-cache/libFieldExporter.a(Pods-dummy.o)

    duplicate symbol OBJC_METACLASS$_PodsDummy_Pods in:
    /Users/somepath/obj/iPhoneSimulator/Debug/mtouch-cache/libAdmobExporter.a(Pods-dummy.o)
    /Users/somepath/obj/iPhoneSimulator/Debug/mtouch-cache/libFieldExporter.a(Pods-dummy.o)
    ld: 2 duplicate symbols for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    EDIT: Made a new project. Added Google Analytics and enough code to load a tracker. Worked fine. Added Google MobileAds and added enough code to load a banner, I get the above error. Removed Google Analytics and the project ran fine, except of course I couldn't use MobileAds.

    Some googling seems to say the cocoaPods thing creates a dummy class (Pods-dummy?) in both projects. Solution appears to rename the dummy class of one of the. But in saying that it is a long time known issue on the CocoaPods github issue tracker I am not sure what the real solution is. Making sample project to attach now.

  • BradMooreBradMoore AUMember ✭✭✭
    edited December 2015

    Attached is GoogleMobileAdsAndAnalyticsTest.zip. Look in the ViewController.cs and comment/uncommnt either/both/neither of these lines.

    #define MOBILEADS
    #define ANALYTICS
    

    When they are both enabled you should (at least I do) get the issue as described above.

    My current system is,

    Xamarin Studio
    Version 5.10.1 (build 6)
    Installation UUID: 2fd1a9e5-3692-44d2-a290-796a7a770b84
    Runtime:
    Mono 4.2.1 (explicit/6dd2d0d)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 402010102

    Xamarin.Profiler
    Not Installed

    Apple Developer Tools
    Xcode 7.2 (9548)
    Build 7C68

    Xamarin.Mac
    Version: 2.4.0.109 (Business Edition)

    Xamarin.Android
    Version: 6.0.0.34 (Business Edition)
    Android SDK: /Users/bradmoore/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
    4.0.3 (API level 15)
    4.4 (API level 19)
    5.0 (API level 21)

    SDK Tools Version: 24.4.1
    SDK Platform Tools Version: 23.0.1
    SDK Build Tools Version: 23.0.1

    Java SDK: /usr
    java version "1.7.0_71"
    Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

    Xamarin Android Player
    Not Installed

    Xamarin.iOS
    Version: 9.4.0.0 (Business Edition)
    Hash: 7322991
    Branch: master
    Build date: 2015-12-08 16:20:29-0500

    Build Information
    Release ID: 510010006
    Git revision: 0b60eecdb531933734519c13257d16a780274aab
    Build date: 2015-12-04 20:28:20-05
    Xamarin addins: 9876fd7c9837977178411ec7375b4352c0a0d6af
    Build lane: monodevelop-lion-cycle6-baseline

    Operating System
    Mac OS X 10.11.2
    Darwin Brads-Mac-mini.local 15.2.0 Darwin Kernel Version 15.2.0
    Fri Nov 13 19:56:56 PST 2015
    root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64

  • @BradMoore said:
    Trying to use Google.Analytics and Google.MobileAds and I get this. Going to do further tests to see if the issue is with using both packages at once, or if its Google.MobileAds or possibly just my project being silly.

    duplicate symbol OBJC_CLASS$_PodsDummy_Pods in:
    /Users/somepath/obj/iPhoneSimulator/Debug/mtouch-cache/libAdmobExporter.a(Pods-dummy.o)
    /Users/somepath/obj/iPhoneSimulator/Debug/mtouch-cache/libFieldExporter.a(Pods-dummy.o)

    duplicate symbol OBJC_METACLASS$_PodsDummy_Pods in:
    /Users/somepath/obj/iPhoneSimulator/Debug/mtouch-cache/libAdmobExporter.a(Pods-dummy.o)
    /Users/somepath/obj/iPhoneSimulator/Debug/mtouch-cache/libFieldExporter.a(Pods-dummy.o)
    ld: 2 duplicate symbols for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    EDIT: Made a new project. Added Google Analytics and enough code to load a tracker. Worked fine. Added Google MobileAds and added enough code to load a banner, I get the above error. Removed Google Analytics and the project ran fine, except of course I couldn't use MobileAds.

    Some googling seems to say the cocoaPods thing creates a dummy class (Pods-dummy?) in both projects. Solution appears to rename the dummy class of one of the. But in saying that it is a long time known issue on the CocoaPods github issue tracker I am not sure what the real solution is. Making sample project to attach now.

    I've got exaclty the same problem thus have to revert to using the outdated components :/

  • renzskarenzska USMember ✭✭

    I was able to integrate the Google Sign In for iOS Component (https://components.xamarin.com/view/googleiossignin) with my Xamarin.Forms app and it works great. I would love to see this as a true Xamarin.Forms Component someday.

    I have two questions.

    First, when will this be updated to use the new Google Sign-In SDK 2.4.0 which includes the new Google logo and branding?

    Second, is there any easy way to change the text on the SignInButton?

    Thanks,

    John

  • KennethThormanKennethThorman DKMember ✭✭
    edited December 2015

    @DutchXamarinDev @BradMoore @BauerXcelMedia-MobileDev

    Xamarin support has been quick in working on this and they have posted a possible solution that we are currently testing (thank you for great support).

    I am not sure if I am allowed to post the actual link to the updated Google.Core.dll

    But this is Xamarin's message

    With the help of Components team, we finally discover the error of GCM and it was not related with GCM but with Google.Core. A library was missing on Google Core that was using the +[NSData gtm_dataByGzippingData:] method in background, we added the missing library and your app started to work again the first time.

    Here's the link to dll that has the missing library, so you can continue the work with your app:

    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Test it and if you find any issue with it, let us know please.

    Lets see if Xamarin either themselves are posting the link or that they update the Xamarin.GooglePlayServices component. If this does not happen and this fix is working 100% for us, I will ask on the support ticket if I am allowed to share the link.

  • BradMooreBradMoore AUMember ✭✭✭

    Awesome. Thanks for that @KennethThorman

  • renzskarenzska USMember ✭✭

    I am running into issues with the Google Sign In SDK for iOS component:

    When working with Xamarin.Forms, it works fine in DEBUG mode and RELEASE mode on the simulator, but when deploying in RELEASE mode to an actual device (iOS 9.2, iPhone 6 Plus 128GB), the SignIn.SharedInstance.SignedIn Event is not fired after entering your credentials the first time, and then only sporadically after restarting the application and signing in again. It is very inconsistent. I have tried all possible build configurations and it only happens in RELEASE mode.

    I've posted details on my original Google Sign In post here:

    https://forums.xamarin.com/discussion/comment/171628/#Comment_171628

  • MadsLaumannMadsLaumann DKMember ✭✭

    @KennethThorman @BradMoore I'm facing the exact same problem.

    Any news on this, as it seems to still be a problem, I JUST downloaded component now and get this error.

  • BradMooreBradMoore AUMember ✭✭✭

    @Laumania nope. We gave up and moved onto a new ad library (AdToApp) instead. Ironically one of the ad networks it uses classes with Xamarin Insights crash reporting. The sooner any of these pods dummy classes get fixed the better. Not a fan of dropping Xamarin Insights support in return for ability to use ads.

  • MadsLaumannMadsLaumann DKMember ✭✭

    @BradMoore Sad... as it sounds like @KennethThorman got a version that works. Please ship it @JonathanDick (Xamarin), or paste a link to the dll here, so we can test it :)

  • MadsLaumannMadsLaumann DKMember ✭✭

    @BradMoore Ok, I managed to get it to work, by using the old version of the component.

    Just if anybody, like me, just want to move on and have it working ;)

    http://components.xamarin.com/view/googleadmob?version=7.1.0

«1
Sign In or Register to comment.