Skip to content

Commit

Permalink
chore: keep & force WK_WEB_VIEW_ONLY flag to true
Browse files Browse the repository at this point in the history
Keeping & forcing the WK_WEB_VIEW_ONLY flag to true will allows the IAB plugin @3.2.x to continue to function.
This flag is kept only for the transitioning period.
!! This flag will be removed on Cordova iOS's following next major (7.x)
  • Loading branch information
erisu committed Feb 7, 2020
1 parent 2c61b68 commit 8ace315
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bin/templates/project/__TEMP__.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SKIP_INSTALL = NO;
WK_WEB_VIEW_ONLY = 1;
};
name = Debug;
};
Expand Down Expand Up @@ -428,6 +429,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
SDKROOT = iphoneos;
SKIP_INSTALL = NO;
WK_WEB_VIEW_ONLY = 1;
};
name = Release;
};
Expand Down
2 changes: 1 addition & 1 deletion bin/templates/scripts/cordova/build.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
// (CB-11854)
CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist

GCC_PREPROCESSOR_DEFINITIONS = $(inherited)
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) WK_WEB_VIEW_ONLY=$(WK_WEB_VIEW_ONLY)

0 comments on commit 8ace315

Please sign in to comment.