adamotte / googleplus-ios-sdk Goto Github PK
View Code? Open in Web Editor NEWGoogle Plus SDK for iOS
Google Plus SDK for iOS
When i use the GTMOAuth2ViewControllerTouch the nib not loaded correctly from GooglePlus.bundle, while if I put the xib it all works fine.
note: the bundle is correctly included in the target
Help please.
I'm trying to get the Pod to build, but my project settings are more strict, so this fails due to next errors:
In file included from ./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GooglePlus.h:12:
./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GPPDeepLink.h:11:1: error: treating #import as an import of module 'Foundation' [-Werror,-Wauto-import]
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@import Foundation;
In file included from ./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GooglePlus.h:13:
./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GPPShare.h:66:1: error: treating #import as an import of module 'Foundation' [-Werror,-Wauto-import]
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@import Foundation;
./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GPPShare.h:67:1: error: treating #import as an import of module 'UIKit' [-Werror,-Wauto-import]
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~~~~~~~~~
@import UIKit;
In file included from ./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GooglePlus.h:14:
./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GPPSignIn.h:11:1: error: treating #import as an import of module 'Foundation' [-Werror,-Wauto-import]
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@import Foundation;
./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GPPSignIn.h:12:1: error: treating #import as an import of module 'UIKit' [-Werror,-Wauto-import]
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~~~~~~~~~
@import UIKit;
In file included from ./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GooglePlus.h:15:
./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GPPSignInButton.h:11:1: error: treating #import as an import of module 'UIKit' [-Werror,-Wauto-import]
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~~~~~~~~~
@import UIKit;
In file included from ./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GooglePlus.h:16:
./Pods/googleplus-ios-sdk/google-plus-ios-sdk-1.7.1/GooglePlus.framework/Headers/GPPURLHandler.h:11:1: error: treating #import as an import of module 'Foundation' [-Werror,-Wauto-import]
#import <Foundation/Foundation.h>
So obviously it is trying to compile the header with my project settings, which obviously will not work. How to enforce the framework to be compiled with Pod rules instead?
is it possible to get an updated version of this ?
Please add v1.4.0 tag for CocoaPods.
Pod version 1.7.1 does not yet support BitCode for Xcode 7 / iOS 9
https://code.google.com/p/google-plus-platform/issues/detail?id=1220
Hi I have a requirement, I want to use google plus SDK to get google plus contacts in my application ?
So I gone through google [https://developers.google.com/+/mobile/ios/] SDK website. So their they said : ( Google+ Sign-In is deprecated, and is likely to not function as expected. Do not use Google+ Sign-In in new apps. To sign in users with their Google Accounts, use Google Sign-In. See the migration guide to migrate from Google+ Sign-In.)
And they also said : (If you just want to allow users to sign -in to your app using their google accounts, and don't need any google+ features, use Google Sign-In)
So now my doubt is, How can I get google plus contacts using google sign-in . Or Is there any other way to get google plus contacts ?
Below is the image link in which they said these lines.
So please help me how to get the google plus contacts ?
Im trying share url using GPPShareBuilder.Used following code
id shareBuilder = [[GPPShare sharedInstance] shareDialog];
NSURL *urlToShare = [NSURL URLWithString:@"www.google.com];
[shareBuilder setURLToShare:urlToShare];
[shareBuilder setPrefillText:@"test post"];
if ([[GPPSignIn sharedInstance] authentication]) {
NSURL *actionURL;
actionURL = [NSURL URLWithString:
@"www.google.com"];
[shareBuilder setCallToActionButtonWithLabel:@"Open"
URL:actionURL
deepLinkID:nil];
}
[shareBuilder open];
This is working fine and post is visible on my profile
But when I try to change url in this line "NSURL *urlToShare = [NSURL URLWithString:@"www.google.com];" the preview is being shown correctly delegate method is returning success but post is not visible on profile.This is working only for google links
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.