Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up google Analytics path doesnt work #129

Open
KDevvv opened this issue Jul 11, 2017 · 1 comment
Open

Setting up google Analytics path doesnt work #129

KDevvv opened this issue Jul 11, 2017 · 1 comment

Comments

@KDevvv
Copy link

KDevvv commented Jul 11, 2017

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.}

@keesvandieren
Copy link

This repository is no longer maintained, please report issue here: https://github.com/MobiVM/robovm-robopods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants