forked from mirrors/linphone-iphone
InApp: add LINPHONE_CAPABILITY_INAPP_PURCHASE extra flag to disable in app code if not linking with in app purchase capability
This commit is contained in:
parent
98e08b8a4d
commit
0cfcf60064
2 changed files with 6 additions and 1 deletions
|
|
@ -36,7 +36,8 @@
|
|||
NSString *accountCreationPassword;
|
||||
}
|
||||
|
||||
#if !TARGET_IPHONE_SIMULATOR
|
||||
// LINPHONE_CAPABILITY_INAPP_PURCHASE must be defined in Linphone Build Settings
|
||||
#if LINPHONE_CAPABILITY_INAPP_PURCHASE && !TARGET_IPHONE_SIMULATOR
|
||||
|
||||
- (instancetype)init {
|
||||
if ((self = [super init]) != nil) {
|
||||
|
|
|
|||
|
|
@ -4592,6 +4592,7 @@
|
|||
WARNING_CFLAGS = (
|
||||
"-Werror=objc-method-access",
|
||||
"-Werror=incomplete-implementation",
|
||||
"-DLINPHONE_CAPABILITY_INAPP_PURCHASE=0",
|
||||
);
|
||||
};
|
||||
name = Debug;
|
||||
|
|
@ -4678,6 +4679,7 @@
|
|||
WARNING_CFLAGS = (
|
||||
"-Werror=objc-method-access",
|
||||
"-Werror=incomplete-implementation",
|
||||
"-DLINPHONE_CAPABILITY_INAPP_PURCHASE=0",
|
||||
);
|
||||
};
|
||||
name = DistributionAdhoc;
|
||||
|
|
@ -4762,6 +4764,7 @@
|
|||
WARNING_CFLAGS = (
|
||||
"-Werror=objc-method-access",
|
||||
"-Werror=incomplete-implementation",
|
||||
"-DLINPHONE_CAPABILITY_INAPP_PURCHASE=0",
|
||||
);
|
||||
};
|
||||
name = Release;
|
||||
|
|
@ -4847,6 +4850,7 @@
|
|||
WARNING_CFLAGS = (
|
||||
"-Werror=objc-method-access",
|
||||
"-Werror=incomplete-implementation",
|
||||
"-DLINPHONE_CAPABILITY_INAPP_PURCHASE=0",
|
||||
);
|
||||
};
|
||||
name = Distribution;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue