As of iOS 13.3.1, apps installed with free developer accounts that contain embedded frameworks fail to launch. To work around this, we now link all dependencies via Cocoapods as static libraries.
35 lines
942 B
Objective-C
Executable File
35 lines
942 B
Objective-C
Executable File
/*
|
|
* GIDProfileData.h
|
|
* Google Sign-In iOS SDK
|
|
*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Use of this SDK is subject to the Google APIs Terms of Service:
|
|
* https://developers.google.com/terms/
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
// This class represents the basic profile information of a GIDGoogleUser.
|
|
@interface GIDProfileData : NSObject <NSCoding>
|
|
|
|
// The Google user's email.
|
|
@property(nonatomic, readonly) NSString *email;
|
|
|
|
// The Google user's full name.
|
|
@property(nonatomic, readonly) NSString *name;
|
|
|
|
// The Google user's given name.
|
|
@property(nonatomic, readonly) NSString *givenName;
|
|
|
|
// The Google user's family name.
|
|
@property(nonatomic, readonly) NSString *familyName;
|
|
|
|
// Whether or not the user has profile image.
|
|
@property(nonatomic, readonly) BOOL hasImage;
|
|
|
|
// Gets the user's profile image URL for the given dimension in pixels for each side of the square.
|
|
- (NSURL *)imageURLWithDimension:(NSUInteger)dimension;
|
|
|
|
@end
|