diff --git a/BlueStack-SDK.podspec b/BlueStack-SDK.podspec index 7c7d5bb..3574457 100644 --- a/BlueStack-SDK.podspec +++ b/BlueStack-SDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |spec| spec.name = "BlueStack-SDK" - spec.version = "4.4.6" + spec.version = "4.4.7" spec.static_framework = true spec.summary = "BlueStack by Azerion provides functionalities for monetizing your mobile application" spec.description = <<-DESC @@ -90,7 +90,7 @@ spec.source = { :git => "https://github.com/azerion/BlueStackSDK.git", end spec.subspec 'CriteoPublisherSdk' do |criteo| - criteo.vendored_frameworks = 'BluestackCriteoAdapter.xcframework' + criteo.vendored_frameworks = 'BlueStackCriteoAdapter.xcframework' criteo.dependency 'CriteoPublisherSdk', '5.0.3' criteo.dependency 'BlueStack-SDK/Core' end diff --git a/BluestackCriteoAdapter.xcframework/Info.plist b/BlueStackCriteoAdapter.xcframework/Info.plist similarity index 71% rename from BluestackCriteoAdapter.xcframework/Info.plist rename to BlueStackCriteoAdapter.xcframework/Info.plist index 4ca658c..d419a95 100644 --- a/BluestackCriteoAdapter.xcframework/Info.plist +++ b/BlueStackCriteoAdapter.xcframework/Info.plist @@ -5,31 +5,34 @@ AvailableLibraries + BinaryPath + BlueStackCriteoAdapter.framework/BlueStackCriteoAdapter LibraryIdentifier - ios-arm64 + ios-arm64-simulator LibraryPath - BluestackCriteoAdapter.framework + BlueStackCriteoAdapter.framework SupportedArchitectures arm64 SupportedPlatform ios + SupportedPlatformVariant + simulator + BinaryPath + BlueStackCriteoAdapter.framework/BlueStackCriteoAdapter LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath - BluestackCriteoAdapter.framework + BlueStackCriteoAdapter.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/BlueStackCriteoAdapter b/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/BlueStackCriteoAdapter new file mode 100644 index 0000000..e2c47a0 Binary files /dev/null and b/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/BlueStackCriteoAdapter differ diff --git a/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/Headers/BlueStackCriteoAdapter.h b/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/Headers/BlueStackCriteoAdapter.h new file mode 100644 index 0000000..c6144a8 --- /dev/null +++ b/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/Headers/BlueStackCriteoAdapter.h @@ -0,0 +1,16 @@ +// +// BlueStackCriteoAdapter.h +// BlueStackCriteoAdapter +// +// Created by Nagib Bin Azad on 8/4/24. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface BlueStackCriteoAdapter : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/Info.plist b/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/Info.plist new file mode 100644 index 0000000..9bcb244 --- /dev/null +++ b/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + + diff --git a/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/Modules/module.modulemap b/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/Modules/module.modulemap new file mode 100644 index 0000000..fed6922 --- /dev/null +++ b/BlueStackCriteoAdapter.xcframework/ios-arm64-simulator/BlueStackCriteoAdapter.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module BlueStackCriteoAdapter { + umbrella header "BlueStackCriteoAdapter.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "UIKit" +} diff --git a/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/BlueStackCriteoAdapter b/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/BlueStackCriteoAdapter new file mode 100644 index 0000000..d84e472 Binary files /dev/null and b/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/BlueStackCriteoAdapter differ diff --git a/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/Headers/BlueStackCriteoAdapter.h b/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/Headers/BlueStackCriteoAdapter.h new file mode 100644 index 0000000..c6144a8 --- /dev/null +++ b/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/Headers/BlueStackCriteoAdapter.h @@ -0,0 +1,16 @@ +// +// BlueStackCriteoAdapter.h +// BlueStackCriteoAdapter +// +// Created by Nagib Bin Azad on 8/4/24. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface BlueStackCriteoAdapter : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/Info.plist b/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/Info.plist new file mode 100644 index 0000000..9bcb244 --- /dev/null +++ b/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + + diff --git a/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/Modules/module.modulemap b/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/Modules/module.modulemap new file mode 100644 index 0000000..fed6922 --- /dev/null +++ b/BlueStackCriteoAdapter.xcframework/ios-arm64/BlueStackCriteoAdapter.framework/Modules/module.modulemap @@ -0,0 +1,9 @@ +framework module BlueStackCriteoAdapter { + umbrella header "BlueStackCriteoAdapter.h" + + export * + module * { export * } + + link framework "Foundation" + link framework "UIKit" +} diff --git a/BluestackCriteoAdapterWrapper/BluestackCriteoAdapterWrapper.swift b/BlueStackCriteoAdapterWrapper/BlueStackCriteoAdapterWrapper.swift similarity index 60% rename from BluestackCriteoAdapterWrapper/BluestackCriteoAdapterWrapper.swift rename to BlueStackCriteoAdapterWrapper/BlueStackCriteoAdapterWrapper.swift index f50be09..28c03e0 100644 --- a/BluestackCriteoAdapterWrapper/BluestackCriteoAdapterWrapper.swift +++ b/BlueStackCriteoAdapterWrapper/BlueStackCriteoAdapterWrapper.swift @@ -1,6 +1,6 @@ // -// BluestackCriteoAdapterWrapper.swift -// +// BlueStackCriteoAdapterWrapper.swift +// // // Created by Nagib Bin Azad on 26/4/23. // diff --git a/BlueStackSDK.xcframework/Info.plist b/BlueStackSDK.xcframework/Info.plist index e7dede9..7767ed2 100644 --- a/BlueStackSDK.xcframework/Info.plist +++ b/BlueStackSDK.xcframework/Info.plist @@ -8,32 +8,32 @@ BinaryPath BlueStackSDK.framework/BlueStackSDK LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath BlueStackSDK.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator BinaryPath BlueStackSDK.framework/BlueStackSDK LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath BlueStackSDK.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator CFBundlePackageType diff --git a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDK b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDK index 91b652f..a89490e 100644 Binary files a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDK and b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDK differ diff --git a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeDirectory b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeDirectory index d03fd2d..95077f8 100644 Binary files a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeDirectory and b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeDirectory differ diff --git a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeRequirements-1 b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeRequirements-1 index 300561e..3ca2273 100644 Binary files a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeRequirements-1 and b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeRequirements-1 differ diff --git a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeResources b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeResources index 09c7e8a..b69627a 100644 --- a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeResources +++ b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeResources @@ -10,7 +10,7 @@ omsdk-v1.js - E7MaMysIYUJIR1I6oEdA8pZyRuA= + xFoo41tIvFKNNRq9NwW500wQtM8= synccoreBluestack.js @@ -34,11 +34,11 @@ hash - E7MaMysIYUJIR1I6oEdA8pZyRuA= + xFoo41tIvFKNNRq9NwW500wQtM8= hash2 - +eokvE4izsT4Wmq6lRBaQkhS0u3hALJiYPGijPAIzNU= + iWz5BbK1YoGNpY4Z4ltSUIPxhjj2ubDXxq6kEamQdYU= synccoreBluestack.js diff --git a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeSignature b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeSignature index 2a22441..3780191 100644 Binary files a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeSignature and b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/_CodeSignature/CodeSignature differ diff --git a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/omsdk-v1.js b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/omsdk-v1.js index 3e30382..a3faac7 100644 --- a/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/omsdk-v1.js +++ b/BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/BlueStackSDKResources.bundle/omsdk-v1.js @@ -1,74 +1,87 @@ ;(function(omidGlobal) { - 'use strict';var n;function aa(a){var b=0;return function(){return bc&&(c=Math.max(c+e,0));ch&&F.yz){P=!0;break}}P&&(e+=Math.round(k)*Math.round(xa))}}c-=e;b=Math.round(c/b*100);a.u=Math.max(b,0);a.v=Math.max(c,0)}} -function Ja(a,b){if(0!==b.width&&0!==b.height&&a.b){a=va(a.b);var c=a.y,d=a.endX,e=a.endY;b=!(b.endX<=a.x||b.x>=d||b.endY<=c||b.y>=e)}else b=!1;return b}function D(a,b){for(var c=!1,d=0;dd.time&&(d=b[e]);c=d;a.g=Hb(c.rootBounds);a.a=Hb(c.boundingClientRect);a.v=Hb(c.intersectionRect);sb(a)}}catch(g){a.m(),db(a.F,'generic','Problem handling IntersectionObserver callback: '+g.message)}},{root:null,rootMargin:'0px',threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})} -function Gb(a){a.f.ResizeObserver?a.l||(a.l=Ib(a,function(){return Kb(a)}),a.l.observe(a.b)):(a.s||(a.s=function(){return Kb(a)},(0,a.f.addEventListener)('resize',a.s)),a.j||(a.j=new MutationObserver(function(){return Kb(a)}),a.j.observe(a.b,{childList:!1,attributes:!0,subtree:!1})))}function Kb(a){a.b&&!Fb(a.b)&&(Eb(a),Cb(a))}function Ib(a,b){return new a.f.ResizeObserver(b)}function Hb(a){if(a&&null!==a.x&&null!==a.y&&null!==a.width&&null!==a.height)return new A(a,!1)};function R(a){return'object'===typeof a}function Lb(a){return'number'===typeof a&&!isNaN(a)&&0<=a}function S(a){return'string'===typeof a}function T(a,b){return S(a)&&-1!==Object.values(b).indexOf(a)};function Mb(a){return a&&R(a)?Object.entries(a).reduce(function(b,c){var d=p(c);c=d.next().value;d=d.next().value;return b&&S(c)&&null!=d&&R(d)&&S(d.resourceUrl)},!0):!1};function U(a,b,c,d){this.b=a;this.method=b;this.version=c;this.a=d}function Nb(a){return!!a&&void 0!==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!==a.omid_message_version&&'string'===typeof a.omid_message_guid&&'string'===typeof a.omid_message_method&&'string'===typeof a.omid_message_version&&(void 0===a.omid_message_args||void 0!==a.omid_message_args)}function Ob(a){return new U(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_args)} -function Pb(a){var b={};b=(b.omid_message_guid=a.b,b.omid_message_method=a.method,b.omid_message_version=a.version,b);void 0!==a.a&&(b.omid_message_args=a.a);return b};function Qb(a){this.c=a};function V(a){this.c=a;this.handleExportedMessage=V.prototype.f.bind(this)}r(V,Qb);V.prototype.b=function(a,b){b=void 0===b?this.c:b;if(!b)throw Error('Message destination must be defined at construction time or when sending the message.');b.handleExportedMessage(Pb(a),this)};V.prototype.f=function(a,b){Nb(a)&&this.a&&this.a(Ob(a),b)};function Rb(a,b){this.c=b=void 0===b?H:b;var c=this;a.addEventListener('message',function(d){if('object'===typeof d.data){var e=d.data;Nb(e)&&d.source&&c.a&&c.a(Ob(e),d.source)}})}r(Rb,Qb);Rb.prototype.b=function(a,b){b=void 0===b?this.c:b;if(!b)throw Error('Message destination must be defined at construction time or when sending the message.');b.postMessage(Pb(a),'*')};function Sb(){return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(a){var b=16*Math.random()|0;return'y'===a?(b&3|8).toString(16):b.toString(16)})};function Tb(a){if(!a.b||!a.b.document)throw Error('OMID Service Script is not running within a window.');var b=a.a;a.a=[];b.forEach(function(c){var d=a.c.C?'limited':'full';var e=T(c.accessMode,ra)?c.accessMode:null;d=e?'full'==e&&'limited'==d?d:e:d;c.accessMode=d;e='full'!=d;d=Sb();var g=c.resourceUrl,l=a.b.document,f=l.createElement('iframe');e&&(f.sandbox='allow-scripts');f.id='omid-verification-script-frame-'+d;f.style.display='none';f.srcdoc="\n