iosgoogle-plusgoogle-app-invites

Integrating Google AppInvites to iOS App


I'm interested in integrating new AppInvites by Google to my iOS app. There are some problems...I'm currently using googleplus-ios-sdk pod and it seems like I cannot have AppInvites pod with googleplus pod as they have some common classes (which results as error during linking of course).

I'm looking for solution how I can use both pod, or maybe there is another pod from Google that can do googleplus job.

Google site is not helping, I've found list of all pods published by Google: https://developers.google.com/ios/cocoapods?hl=pl

but I don't see one for Google+.

Do you have any advice for this?


Solution

  • The most likely cause of your issue is that you're using v1 Sign-in (e.g. GPP* objects and the GPPSignin singleton) when you probably should be using Google Sign-in 2.0 (GID* objects and GHI* objects).

    If you're using GPPShare then you may need to do more work to get it to work well alongside GIDSignin. It may be easier for you to use a link-based approach to sharing, e.g. pass a URL such as https://plus.google.com/share?url=https://yourshareurl.com to a web view or open call.