Skip to content

Setting up google Analytics path doesnt work #129

@KDevvv

Description

@KDevvv

Ive add google Analytics dependency into gradle file, add GoogleService-Info.plist into my resources folder and then in robovm.xml added this folder. Finally int IOSLauncher I write this code

@Override
   public boolean didFinishLaunching(UIApplication application, UIApplicationLaunchOptions launchOptions) {
         try {
           GGLContext.getSharedInstance().configure();
           GAI gai = GAI.getSharedInstance();
           gai.enableCrashReporting();
           System.out.println("Correct setting up launcher");
       } catch (NSErrorException e) {
           System.err.println("Error configuring the Google context: " + e.getError());
           System.out.println("Error configuring the Google context: " + e.getError());
       }
       return super.didFinishLaunching(application, launchOptions);
   }

Unfortunately I ve got this error:

Error configuring the Google context: Error Domain=com.google.greenhouse Code=-200 "Unable to configure GGL." UserInfo={NSLocalizedRecoverySuggestion=Check formatting and location of GoogleService-Info.plist., NSLocalizedDescription=Unable to configure GGL., NSLocalizedFailureReason=Unable to parse supplied GoogleService-Info.plist. See log for details.}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions