Giter VIP home page Giter VIP logo

googleplus-ios-sdk's People

Contributors

ehuynh avatar kolyuchiy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

googleplus-ios-sdk's Issues

GooglePlus.bundle of SDK 1.7.1 not loaded

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.

Pod version does not build due to strict project settings

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?

Update ?

is it possible to get an updated version of this ?

I want to use google plus SDK to get google plus contacts in my application ?

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 ?

screen shot 2016-05-12 at 7 50 48 pm

Only google urls are getting posted to profile using GPPShareBuilder

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.