Skip to content

Commit 50eb5ba

Browse files
BlueStackSDK and Adapters updated
1 parent be50a1a commit 50eb5ba

File tree

62 files changed

+215
-205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+215
-205
lines changed

BlueStack-SDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |spec|
22

33
spec.name = "BlueStack-SDK"
4-
spec.version = "4.2.6"
4+
spec.version = "4.2.7-preview.1"
55
spec.summary = "BlueStack by Azerion provides functionalities for monetizing your mobile application"
66
spec.description = <<-DESC
77
BlueStack by Azerion provides functionalities for monetizing your mobile application: from premium sales with reach media, video and innovative formats, it facilitates inserting native mobile ads as well all standard display formats. BlueStack SDK is a library that allow you to handle the following Ads servers with the easy way :

BlueStackDFPAdapter.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_x86_64-simulator</string>
9+
<string>ios-arm64</string>
1010
<key>LibraryPath</key>
1111
<string>BlueStackDFPAdapter.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>x86_64</string>
1615
</array>
1716
<key>SupportedPlatform</key>
1817
<string>ios</string>
19-
<key>SupportedPlatformVariant</key>
20-
<string>simulator</string>
2118
</dict>
2219
<dict>
2320
<key>LibraryIdentifier</key>
24-
<string>ios-arm64</string>
21+
<string>ios-arm64_x86_64-simulator</string>
2522
<key>LibraryPath</key>
2623
<string>BlueStackDFPAdapter.framework</string>
2724
<key>SupportedArchitectures</key>
2825
<array>
2926
<string>arm64</string>
27+
<string>x86_64</string>
3028
</array>
3129
<key>SupportedPlatform</key>
3230
<string>ios</string>
31+
<key>SupportedPlatformVariant</key>
32+
<string>simulator</string>
3333
</dict>
3434
</array>
3535
<key>CFBundlePackageType</key>

BlueStackFacebookAdapter.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64</string>
9+
<string>ios-arm64_x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>BlueStackFacebookAdapter.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15+
<string>x86_64</string>
1516
</array>
1617
<key>SupportedPlatform</key>
1718
<string>ios</string>
19+
<key>SupportedPlatformVariant</key>
20+
<string>simulator</string>
1821
</dict>
1922
<dict>
2023
<key>LibraryIdentifier</key>
21-
<string>ios-arm64_x86_64-simulator</string>
24+
<string>ios-arm64</string>
2225
<key>LibraryPath</key>
2326
<string>BlueStackFacebookAdapter.framework</string>
2427
<key>SupportedArchitectures</key>
2528
<array>
2629
<string>arm64</string>
27-
<string>x86_64</string>
2830
</array>
2931
<key>SupportedPlatform</key>
3032
<string>ios</string>
31-
<key>SupportedPlatformVariant</key>
32-
<string>simulator</string>
3333
</dict>
3434
</array>
3535
<key>CFBundlePackageType</key>

BlueStackImproveAdapter.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64</string>
9+
<string>ios-arm64_x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>BlueStackImproveAdapter.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15+
<string>x86_64</string>
1516
</array>
1617
<key>SupportedPlatform</key>
1718
<string>ios</string>
19+
<key>SupportedPlatformVariant</key>
20+
<string>simulator</string>
1821
</dict>
1922
<dict>
2023
<key>LibraryIdentifier</key>
21-
<string>ios-arm64_x86_64-simulator</string>
24+
<string>ios-arm64</string>
2225
<key>LibraryPath</key>
2326
<string>BlueStackImproveAdapter.framework</string>
2427
<key>SupportedArchitectures</key>
2528
<array>
2629
<string>arm64</string>
27-
<string>x86_64</string>
2830
</array>
2931
<key>SupportedPlatform</key>
3032
<string>ios</string>
31-
<key>SupportedPlatformVariant</key>
32-
<string>simulator</string>
3333
</dict>
3434
</array>
3535
<key>CFBundlePackageType</key>

BlueStackOguryAdapter.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64</string>
9+
<string>ios-arm64_x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>BlueStackOguryAdapter.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15+
<string>x86_64</string>
1516
</array>
1617
<key>SupportedPlatform</key>
1718
<string>ios</string>
19+
<key>SupportedPlatformVariant</key>
20+
<string>simulator</string>
1821
</dict>
1922
<dict>
2023
<key>LibraryIdentifier</key>
21-
<string>ios-arm64_x86_64-simulator</string>
24+
<string>ios-arm64</string>
2225
<key>LibraryPath</key>
2326
<string>BlueStackOguryAdapter.framework</string>
2427
<key>SupportedArchitectures</key>
2528
<array>
2629
<string>arm64</string>
27-
<string>x86_64</string>
2830
</array>
2931
<key>SupportedPlatform</key>
3032
<string>ios</string>
31-
<key>SupportedPlatformVariant</key>
32-
<string>simulator</string>
3333
</dict>
3434
</array>
3535
<key>CFBundlePackageType</key>

BlueStackSDK.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_x86_64-simulator</string>
9+
<string>ios-arm64</string>
1010
<key>LibraryPath</key>
1111
<string>BlueStackSDK.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>x86_64</string>
1615
</array>
1716
<key>SupportedPlatform</key>
1817
<string>ios</string>
19-
<key>SupportedPlatformVariant</key>
20-
<string>simulator</string>
2118
</dict>
2219
<dict>
2320
<key>LibraryIdentifier</key>
24-
<string>ios-arm64</string>
21+
<string>ios-arm64_x86_64-simulator</string>
2522
<key>LibraryPath</key>
2623
<string>BlueStackSDK.framework</string>
2724
<key>SupportedArchitectures</key>
2825
<array>
2926
<string>arm64</string>
27+
<string>x86_64</string>
3028
</array>
3129
<key>SupportedPlatform</key>
3230
<string>ios</string>
31+
<key>SupportedPlatformVariant</key>
32+
<string>simulator</string>
3333
</dict>
3434
</array>
3535
<key>CFBundlePackageType</key>
Binary file not shown.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
//
2+
// BlueStackAdapterStatus.h
3+
// BlueStackSDK
4+
//
5+
// Created by Nagib Bin Azad on 1/6/23.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
/**
11+
Enumeration that define the type of error incase an ad fails to load
12+
*/
13+
typedef NS_ENUM(NSUInteger, BlueStackAdapterInitializationState) {
14+
BlueStackAdapterInitializationStateReady = 1,
15+
BlueStackAdapterInitializationStateNotReady = 0,
16+
BlueStackAdapterInitializationStateUnknown = 2
17+
};
18+
19+
20+
NS_ASSUME_NONNULL_BEGIN
21+
22+
@interface BlueStackAdapterStatus : NSObject
23+
24+
@property (nonatomic, assign) BlueStackAdapterInitializationState state;
25+
@property (nonatomic, strong) NSString* provider;
26+
@property (nonatomic, strong) NSString* descriptionStatus;
27+
28+
@end
29+
30+
NS_ASSUME_NONNULL_END
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// BlueStackInitializationStatus.h
3+
// BlueStackSDK
4+
//
5+
// Created by Nagib Bin Azad on 1/6/23.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
#import "BlueStackAdapterStatus.h"
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
@interface BlueStackInitializationStatus : NSObject
14+
15+
@property (nonatomic, strong) NSArray<BlueStackAdapterStatus *> *adaptersStatus;
16+
17+
@end
18+
19+
NS_ASSUME_NONNULL_END

BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/Headers/MNGAdsAdapter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#import "MNGPreference.h"
1111
#import "Protocols.h"
1212
#import "MAdvertiseInfeedFrame.h"
13+
#import "BlueStackAdapterStatus.h"
1314
/**
1415
Enumeration that define the type of requested ad
1516
*/

BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/Headers/MNGAdsSDKFactory.h

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,44 +8,11 @@
88
//
99

1010
#import "MNGAdsAdapter.h"
11+
#import "BlueStackInitializationStatus.h"
12+
#import "MNGAdsSDKFactoryDelegate.h"
1113

1214
void DebugLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2);
1315

14-
/**
15-
Enumeration that define the type of error incase an ad fails to load
16-
*/
17-
18-
19-
typedef enum
20-
{
21-
BlueStackAdapterInitializationStateReady = 1,
22-
BlueStackAdapterInitializationStateNotReady = 0,
23-
BlueStackAdapterInitializationStateUnknown = 2
24-
} BlueStackAdapterInitializationState;
25-
26-
27-
@interface BlueStackAdapterStatus : NSObject
28-
29-
@property BlueStackAdapterInitializationState state;
30-
@property NSString* provider;
31-
@property NSString* descriptionStatus;
32-
33-
@end
34-
35-
@interface BlueStackInitializationStatus : NSObject
36-
37-
@property NSArray<BlueStackAdapterStatus *> *adaptersStatus;
38-
39-
@end
40-
41-
@protocol MNGAdsSDKFactoryDelegate <NSObject>
42-
43-
@optional
44-
-(void)MNGAdsSDKFactoryDidFinishInitializing;
45-
-(void)MNGAdsSDKFactoryDidFinishAdaptersInitializing:(BlueStackInitializationStatus*)blueStackInitializationStatus;
46-
-(void)MNGAdsSDKFactoryDidFailInitializationWithError:(NSError*) error;
47-
@end
48-
4916
@interface MNGAdsSDKFactory : MNGAdsAdapter<MNGAdsAdapterBannerDelegate,MNGAdsAdapterInterstitialDelegate,MNGAdsAdapterNativeDelegate,MNGClickDelegate, MNGAdsAdapterInfeedDelegate,MNGAdsAdapterRefreshDelegate,MAdvertiseAdapterRewardedVideoAdDelegate,BluestackThumbnailAdDelegate>
5017

5118
+ (void)initWithAppId:(NSString*)appId;
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// MNGAdsSDKFactoryDelegate.h
3+
// BlueStackSDK
4+
//
5+
// Created by Nagib Bin Azad on 1/6/23.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
#import "BlueStackInitializationStatus.h"
10+
11+
@protocol MNGAdsSDKFactoryDelegate <NSObject>
12+
13+
@optional
14+
-(void)MNGAdsSDKFactoryDidFinishInitializing;
15+
-(void)MNGAdsSDKFactoryDidFinishAdaptersInitializing:(BlueStackInitializationStatus*)blueStackInitializationStatus;
16+
-(void)MNGAdsSDKFactoryDidFailInitializationWithError:(NSError*) error;
17+
@end

BlueStackSDK.xcframework/ios-arm64/BlueStackSDK.framework/example.json

Lines changed: 0 additions & 44 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
//
2+
// BlueStackAdapterStatus.h
3+
// BlueStackSDK
4+
//
5+
// Created by Nagib Bin Azad on 1/6/23.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
/**
11+
Enumeration that define the type of error incase an ad fails to load
12+
*/
13+
typedef NS_ENUM(NSUInteger, BlueStackAdapterInitializationState) {
14+
BlueStackAdapterInitializationStateReady = 1,
15+
BlueStackAdapterInitializationStateNotReady = 0,
16+
BlueStackAdapterInitializationStateUnknown = 2
17+
};
18+
19+
20+
NS_ASSUME_NONNULL_BEGIN
21+
22+
@interface BlueStackAdapterStatus : NSObject
23+
24+
@property (nonatomic, assign) BlueStackAdapterInitializationState state;
25+
@property (nonatomic, strong) NSString* provider;
26+
@property (nonatomic, strong) NSString* descriptionStatus;
27+
28+
@end
29+
30+
NS_ASSUME_NONNULL_END
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// BlueStackInitializationStatus.h
3+
// BlueStackSDK
4+
//
5+
// Created by Nagib Bin Azad on 1/6/23.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
#import "BlueStackAdapterStatus.h"
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
@interface BlueStackInitializationStatus : NSObject
14+
15+
@property (nonatomic, strong) NSArray<BlueStackAdapterStatus *> *adaptersStatus;
16+
17+
@end
18+
19+
NS_ASSUME_NONNULL_END

BlueStackSDK.xcframework/ios-arm64_x86_64-simulator/BlueStackSDK.framework/Headers/MNGAdsAdapter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#import "MNGPreference.h"
1111
#import "Protocols.h"
1212
#import "MAdvertiseInfeedFrame.h"
13+
#import "BlueStackAdapterStatus.h"
1314
/**
1415
Enumeration that define the type of requested ad
1516
*/

0 commit comments

Comments
 (0)