Skip to content

Commit

Permalink
updated binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
KojiNakamaru committed Dec 4, 2020
1 parent 90c5b28 commit 3cbc108
Show file tree
Hide file tree
Showing 33 changed files with 40 additions and 38 deletions.
2 changes: 1 addition & 1 deletion dist/package/Assets/Plugins/Android.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified dist/package/Assets/Plugins/Android/WebViewPlugin.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/package/Assets/Plugins/Android/WebViewPlugin.jar.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/package/Assets/Plugins/Editor.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/package/Assets/Plugins/WebView.bundle/Contents.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions dist/package/Assets/Plugins/WebView.bundle/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12A7403</string>
<string>12B45b</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>10.15.6</string>
<string>11.0</string>
<key>DTSDKBuild</key>
<string>19G68</string>
<string>20A2408</string>
<key>DTSDKName</key>
<string>macosx10.15</string>
<string>macosx11.0</string>
<key>DTXcode</key>
<string>1210</string>
<string>1220</string>
<key>DTXcodeBuild</key>
<string>12A7403</string>
<string>12B45b</string>
<key>LSMinimumSystemVersion</key>
<string>10.13</string>
</dict>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/package/Assets/Plugins/WebViewObject.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/package/Assets/Plugins/iOS.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions dist/package/Assets/Plugins/iOS/WebView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ - (id)initWithGameObjectName:(const char *)gameObjectName_ transparent:(BOOL)tra
hookRegex = nil;
basicAuthUserName = nil;
basicAuthPassword = nil;
if (ua != NULL && strcmp(ua, "") != 0) {
[[NSUserDefaults standardUserDefaults]
registerDefaults:@{ @"UserAgent": [[NSString alloc] initWithUTF8String:ua] }];
}
UIView *view = UnityGetGLViewController().view;
if (enableWKWebView && [WKWebView class]) {
if (_sharedProcessPool == NULL) {
Expand Down Expand Up @@ -151,6 +147,9 @@ - (id)initWithGameObjectName:(const char *)gameObjectName_ transparent:(BOOL)tra
webView = [[WKWebView alloc] initWithFrame:view.frame configuration:configuration];
webView.UIDelegate = self;
webView.navigationDelegate = self;
if (ua != NULL && strcmp(ua, "") != 0) {
((WKWebView *)webView).customUserAgent = [[NSString alloc] initWithUTF8String:ua];
}
} else {
webView = nil;
return self;
Expand Down
2 changes: 1 addition & 1 deletion dist/package/Assets/Plugins/iOS/WebView.mm.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions dist/package/Assets/Plugins/iOS/WebViewWithUIWebView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@ - (id)initWithGameObjectName:(const char *)gameObjectName_ transparent:(BOOL)tra
hookRegex = nil;
basicAuthUserName = nil;
basicAuthPassword = nil;
if (ua != NULL && strcmp(ua, "") != 0) {
[[NSUserDefaults standardUserDefaults]
registerDefaults:@{ @"UserAgent": [[NSString alloc] initWithUTF8String:ua] }];
}
UIView *view = UnityGetGLViewController().view;
if (enableWKWebView && [WKWebView class]) {
if (_sharedProcessPool == NULL) {
Expand Down Expand Up @@ -195,7 +191,14 @@ - (id)initWithGameObjectName:(const char *)gameObjectName_ transparent:(BOOL)tra
webView = [[WKWebView alloc] initWithFrame:view.frame configuration:configuration];
webView.UIDelegate = self;
webView.navigationDelegate = self;
if (ua != NULL && strcmp(ua, "") != 0) {
((WKWebView *)webView).customUserAgent = [[NSString alloc] initWithUTF8String:ua];
}
} else {
if (ua != NULL && strcmp(ua, "") != 0) {
[[NSUserDefaults standardUserDefaults]
registerDefaults:@{ @"UserAgent": [[NSString alloc] initWithUTF8String:ua] }];
}
UIWebView *uiwebview = [[UIWebView alloc] initWithFrame:view.frame];
uiwebview.allowsInlineMediaPlayback = YES;
uiwebview.mediaPlaybackRequiresUserAction = NO;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/package/Assets/WebGLTemplates/unity-webview.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/package/Assets/WebPlayerTemplates/unity-webview.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified dist/unity-webview-nofragment.unitypackage
Binary file not shown.
Binary file modified dist/unity-webview-nofragment.zip
Binary file not shown.
Binary file modified dist/unity-webview.unitypackage
Binary file not shown.
Binary file modified dist/unity-webview.zip
Binary file not shown.

0 comments on commit 3cbc108

Please sign in to comment.