Coder Social home page Coder Social logo

ios-basic-samples's People

Contributors

atahiri80 avatar claywilkinson avatar dturner avatar gguuss avatar hak avatar naokigoogle avatar samtstern avatar thedmail avatar tjohns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

ios-basic-samples's Issues

Duplicate symbols between GoogleOpenSource framework and GTMOAuth2 lib

Using Xamarin to implement Google Play Games Services for iOS I found that Play Games is not compatible with Sign-In v4.0.1 anymore because GoogleOpenSource framework (dependency of PlayGames) have duplicated symbols with GTMOAuth2 headers (dependency of Sign-In). Here's a list of duplicated symbols between libs:

'_kGTMOAuth2WebViewKey'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o) 
'_kGTMOAuth2ErrorMessageKey'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o) 
'_kGTMOAuth2WebViewStopKindKey'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o) 
'_kGTMOAuth2NetworkLost'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o) 
'_kGTMOAuth2ErrorInvalidRequest'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o) 
'_kGTMOAuth2ErrorInvalidClient'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o) 
'_kGTMOAuth2ErrorUnauthorizedClient'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o) 
'_kGTMOAuth2ErrorInvalidGrant'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o) 
'_OBJC_CLASS_$_GTMOAuth2AuthorizationArgs'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o) 
'_OBJC_METACLASS_$_GTMOAuth2AuthorizationArgs'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o) 
'_kGTMOAuth2FetchTypeUserInfo'.
error: Duplicate symbol in: GoogleOpenSource(GTMOAuth2Authentication.o) 
error: Duplicate symbol in: GTMOAuth2(GTMOAuth2Authentication.o)

Also, Play Games dependencies needs to be updated to replace GoogleOpenSource dependency with the new GTMOAuth2 and GoogleToolboxForMac/Logger open source projects.

Access GIDGoogleUser Class

Hello,
Is there any solution to access GIDGoogleUser Class?
Since there are no props or methods related to that class.
I wanna get user profile such as email and name...

listRoomsWithMaxResults result is triggered twice

Hi.

I use this method

[GPGRealTimeRoomMaker listRoomsWithMaxResults:50 completionHandler:^(NSArray *rooms, NSError *error) {
                if(error) {
                   /// error
                }
                else {
                    NSMutableArray *validRoomDataList = [NSMutableArray array];

                    for (GPGRealTimeRoomData *roomData in rooms) {

                        if (roomData.status == GPGRealTimeRoomStatusInviting) {
                            [validRoomDataList addObject:roomData];
                        }
                    }
                    [[GPGLauncherController sharedInstance] presentRealTimeInvitesWithRoomDataList:validRoomDataList];
                }
        }];

to show all invitations for current user, but completionHandler is called twice, once with invitations and once empty, so I get two windows.

I test on iPad 2 with iOS 9.2.1

Thank you.

Undefined symbols for architecture armv7

When my Podfile is:

target 'ButtonClicker' do
pod 'GooglePlayGames’, ‘~> 5.0’
end

target 'ButtonClickerTests' do
pod 'GooglePlayGames’, ‘~> 5.0’
end

I get:

Using GTMOAuth2 (1.1.4)
Using GTMSessionFetcher (1.1.7)
Using GoogleAppUtilities (1.1.2)
Using GooglePlayGames (5.1.1)
Using GooglePlusOpenSource (1.7.1)
Using GoogleSignIn (4.0.1)
Using GoogleSymbolUtilities (1.1.2)
Using GoogleToolboxForMac (2.1.0)

And I get the following error:

Undefined symbols for architecture armv7:
"OBJC_CLASS$_GSDK_GTMSessionFetcher", referenced from:
objc-class-ref in gpg(GPGClearcutLogger.o)
"OBJC_CLASS$_GSDK_GTMSessionFetcherService", referenced from:
objc-class-ref in gpg(GIPNetworkImage.o)
"_GTMMethodCheckMethodChecker", referenced from:
+[NSDictionary(GTMNSDictionaryURLArgumentsAdditions) xxGTMMethodCheckMethodNSString32] in libGoogleToolboxForMac.a(GTMNSDictionary+URLArguments.o)
+[NSDictionary(GTMNSDictionaryURLArgumentsAdditions) xxGTMMethodCheckMethodNSString33] in libGoogleToolboxForMac.a(GTMNSDictionary+URLArguments.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

plans to support bitcode?

If I'm not turning off the bitcode in xcode settings, I receive the following error message:

ld: 'Frameworks/GoogleSignIn.framework/GoogleSignIn(GTMABAddressBook.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target

Any plans for supporting bitcode?

push notification does not work!

We're doing all the steps required for enabling push notification for invitations but didReceiveRealTimeInviteForRoom is never called and I have no idea where to look any more.

I do receive APNS token successfully I must add but when I send an invitation, no push notification is delivered to my app although I am able to see the waiting invitation in the built-in UI window.

I tested with development and production environments but none are working. and of course we are careful with the environment settings

GPGPushNotificationEnvironment environment = GPGPushNotificationEnvironmentSandbox;
if(isBuildingForProduction) environment = GPGPushNotificationEnvironmentProduction;

[[GPGManager sharedInstance] registerDeviceToken:deviceToken forEnvironment:environment];

We would appreciate any help or guidelines?

building with CocoaPods works but not the manual setup

Hi, using this manual I am able to use the CocoaPods to build my app however for some reasons I need to be able to build using the manual workaround and unfortunately it throws the following error when I try to build in xcode

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_GPGManager", referenced from:
      objc-class-ref in ViewController.o

I'm sure I have done all the steps mentioned but it's not working! any idea what could be missing?

Crash occurs while using the play game services

I'm using play game services for my iOS app. It's published and my users are reporting that it crashes. In Xcode, the crash report shows the following code.

1 0x10004c000
2 0x10004c000
3 0x10004c000
4 0x10004c000
5 0x10004c000
6 0x10004c000
7 gpg::MultiplayerParticipant::IsConnectedToRoom() const
8 gpg::AchievementManager::FetchAll(gpg::DataSource, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::function<void (gpg::AchievementManager::FetchAllResponse const&)>)
9 gpg::MultiplayerParticipant::IsConnectedToRoom() const
10 0x10004c000

I'm not using Multiplayer API. All I use is Leaderboard and Achievements.

Does anyone face such an issue and found solutions?

When I click "Invite Friends!" I see only "Auto-Pick" button, no friends!

I test TBMPSkeleton.
When I click "Invite Friends!" I see only "Auto-Pick" button, no friends! Why?
Several test accounts are added to my "Friends" circle and to "Testing Access" list in "Google Play Developer Console"

Everything else works fine:
quick match,
push notifications for taking turn,
list of my matches,
auto pick.

img_9127

iOS google play games setup

I found the reason that cause this problem. For Android users who don't have a Google Game Play Service account, you will be guided to create one then you'll log in sucessfully. But there's no guide for IOS users to follow, it's the reason why cause the IOS users fail to sign in. Did anyone have the same problem? Or anybody have the solution to lead IOS users to create a game service account?

using Game services and Firebase in my project

This was very hard and confusing to find out but I finally figured out that current game services V5.1 is using google_signin_sdk_2_4_0

while the Firebase project is using the latest one. and if I upgrade to the latest version of Google signin, it throws many weird error messages and my app does not compile!

So, the question is: How can someone use GamesServices AND Firebase in a project? I hoped that using the latest google_signin_sdk would do the job, but it's not.

What are my options? Thanks for your advice in advance.

was built for newer iOS version (9.0) than being linked ?!

When building for iOS, I receive hundreds of warnings as follow. does this mean that iOS versions lower than iOS9.0 can't run google play services?!

I think I'm doing something wrong here though because the documentation says that gpg is supported from iOS 7.0 and above.

Please advice.

ld: warning: object file (Frameworks/gpg.framework/gpg(GIPNetworkImage.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GIPNetworkImageView.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitActivityIndicator.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitCollections.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitContentViews.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitCore.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitDialogs.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitHeader.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitHUD.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitNavigation.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitNavigationBar.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitPanel.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(QuantumCollections.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitRefreshControl.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitTables.o)) was built for newer iOS version (9.0) than being linked (8.0)
ld: warning: object file (Frameworks/gpg.framework/gpg(GoogleKitTypography.o)) was built for newer iOS version (9.0) than being linked (8.0)
...
..
.

Modern OAuth interactions

These samples do not demonstrate how to use the modern OAuth interactions that google is implementing as documented here.

when my Podfile is:

target 'ButtonClicker' do
pod 'GooglePlayGames’, ‘5.1’
end

target 'ButtonClickerTests' do
pod 'GooglePlayGames’, ‘5.1’
end

iOS Google Play Games apps will be rejected during review

The GooglePlayGames podspec indicates that it relies on the GooglePlusOpenSource library version 1.7.1 or later.

This library contains old code from the "google-api-objectivec-client" that causes issues when submitting an app to Apple's App store. It is flagged as using private APIs.

A fix was pushed out to the "google-api-objectivec-client" 14 days ago in response to the issue posted 21 days ago in the following link.

google/google-api-objectivec-client#203

It appears that this fix has not made its way into the GooglePlusOpenSource library, and so any app submitted with the GooglePlayGamesServices will get rejected. Mine was just rejected for this exact reason.

When can I expect to have this issue resolved? Until it is, I can not submit my game to the AppStore.

Crash quick-match on 32bit devices.

Not so long time ago there was the issue with auto-matching that was resolved by updating the GPGS SDK to c++ version. But it seems that issue returned again.

Now crashing on the same place in UI quickmatching process. The difference this time is in the log. There I see:

INFO: Auth operation started: SIGN IN
INFO: Auth operation SIGN IN finished with status VALID
VERBOSE: Automatically seeded snapshot cache.
VERBOSE: Automatically seeded achievement cache.
VERBOSE: Automatically seeded event cache.
INFO: Connect with retry.getRetryAuthToken(): 1
INFO: Token expired. Refreshing.
VERBOSE: Auth token refresh returned without error.
INFO: Trying to connect with returned auth token.

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.