还原jpsdk

This commit is contained in:
xiaohui.wang 2023-02-02 14:34:25 +08:00
parent 3a056c4d41
commit d6d56fa64a
12 changed files with 0 additions and 454 deletions

View File

@ -1,33 +0,0 @@
//
// BannerLevelPlayCallbacksWrapper.h
// iOSBridge
//
// Created by Moshe Aviv Aslanov on 02/05/2022.
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <IronSource/IronSource.h>
NS_ASSUME_NONNULL_BEGIN
@protocol BannerLevelPlayCallbacksWrapper <NSObject>
- (void)bannerLevelPlayDidLoad:(ISBannerView *)bannerView withAdInfo:(ISAdInfo *)adInfo;
- (void)bannerLevelPlayDidFailToLoadWithError:(NSError *)error;
- (void)bannerLevelPlayDidClickWithAdInfo:(ISAdInfo *)adInfo;
- (void)bannerLevelPlayDidPresentScreenWithAdInfo:(ISAdInfo *)adInfo;
- (void)bannerLevelPlayDidDismissScreenWithAdInfo:(ISAdInfo *)adInfo;
- (void)bannerLevelPlayDidLeaveApplicationWithAdInfo:(ISAdInfo *)adInfo;
@end
@interface BannerLevelPlayCallbacksWrapper : NSObject<LevelPlayBannerDelegate>
@property (nonatomic, weak) id<BannerLevelPlayCallbacksWrapper> delegate;
- (instancetype) initWithDelegate:(id<BannerLevelPlayCallbacksWrapper>)delegate;
@end
NS_ASSUME_NONNULL_END

View File

@ -1,27 +0,0 @@
fileFormatVersion: 2
guid: c5febb9af265c4d159a30c524b9a32de
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,49 +0,0 @@
//
// BannerLevelPlayCallbacksWrapper.m
// iOSBridge
//
// Created by Moshe Aviv Aslanov on 02/05/2022.
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
//
#import "BannerLevelPlayCallbacksWrapper.h"
@implementation BannerLevelPlayCallbacksWrapper
-(instancetype)initWithDelegate:(id<BannerLevelPlayCallbacksWrapper>)delegate {
self = [super init];
if (self) {
_delegate = delegate;
}
return self;
}
- (void)didClickWithAdInfo:(ISAdInfo *)adInfo {
[_delegate bannerLevelPlayDidClickWithAdInfo:adInfo];
}
- (void)didDismissScreenWithAdInfo:(ISAdInfo *)adInfo {
[_delegate bannerLevelPlayDidDismissScreenWithAdInfo:adInfo];
}
- (void)didFailToLoadWithError:(NSError *)error {
[_delegate bannerLevelPlayDidFailToLoadWithError:error];
}
- (void)didLeaveApplicationWithAdInfo:(ISAdInfo *)adInfo {
[_delegate bannerLevelPlayDidLeaveApplicationWithAdInfo:adInfo];
}
- (void)didLoad:(ISBannerView *)bannerView withAdInfo:(ISAdInfo *)adInfo {
[_delegate bannerLevelPlayDidLoad:bannerView withAdInfo:adInfo];
}
- (void)didPresentScreenWithAdInfo:(ISAdInfo *)adInfo {
[_delegate bannerLevelPlayDidPresentScreenWithAdInfo:adInfo];
}
@end

View File

@ -1,37 +0,0 @@
fileFormatVersion: 2
guid: 8eb9736c5fe5c49058b0c3deb2f378bf
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
- first:
tvOS: tvOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,34 +0,0 @@
//
// InterstitialLevelPlayCallbacksWrapper.h
// iOSBridge
//
// Created by Moshe Aviv Aslanov on 02/05/2022.
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <IronSource/IronSource.h>
NS_ASSUME_NONNULL_BEGIN
@protocol InterstitialLevelPlayCallbacksWrapper <NSObject>
- (void)interstitialLevelPlayDidLoadWithAdInfo:(ISAdInfo *)adInfo;
- (void)interstitialLevelPlayDidFailToLoadWithError:(NSError *)error;
- (void)interstitialLevelPlayDidOpenWithAdInfo:(ISAdInfo *)adInfo;
- (void)interstitialLevelPlayDidCloseWithAdInfo:(ISAdInfo *)adInfo;
- (void)interstitialLevelPlayDidShowWithAdInfo:(ISAdInfo *)adInfo;
- (void)interstitialLevelPlayDidFailToShowWithError:(NSError *)error andAdInfo:(ISAdInfo *)adInfo;
- (void)interstitialLevelPlayDidClickWithAdInfo:(ISAdInfo *)adInfo;
@end
@interface InterstitialLevelPlayCallbacksWrapper : NSObject <LevelPlayInterstitialDelegate>
@property (nonatomic, weak) id<InterstitialLevelPlayCallbacksWrapper> delegate;
- (instancetype) initWithDelegate:(id<InterstitialLevelPlayCallbacksWrapper>)delegate;
@end
NS_ASSUME_NONNULL_END

View File

@ -1,27 +0,0 @@
fileFormatVersion: 2
guid: 72d2aba8a981349cd9e12c433e3a18e3
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,51 +0,0 @@
//
// InterstitialLevelPlayCallbacksWrapper.m
// iOSBridge
//
// Created by Moshe Aviv Aslanov on 02/05/2022.
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
//
#import "InterstitialLevelPlayCallbacksWrapper.h"
@implementation InterstitialLevelPlayCallbacksWrapper
-(instancetype)initWithDelegate:(id<InterstitialLevelPlayCallbacksWrapper>)delegate {
self = [super init];
if (self) {
_delegate = delegate;
}
return self;
}
- (void)didClickWithAdInfo:(ISAdInfo *)adInfo {
[_delegate interstitialLevelPlayDidClickWithAdInfo:adInfo];
}
- (void)didCloseWithAdInfo:(ISAdInfo *)adInfo {
[_delegate interstitialLevelPlayDidCloseWithAdInfo:adInfo];
}
- (void)didFailToLoadWithError:(NSError *)error {
[_delegate interstitialLevelPlayDidFailToLoadWithError:error];
}
- (void)didFailToShowWithError:(NSError *)error andAdInfo:(ISAdInfo *)adInfo {
[_delegate interstitialLevelPlayDidFailToShowWithError:error andAdInfo:adInfo];
}
- (void)didLoadWithAdInfo:(ISAdInfo *)adInfo {
[_delegate interstitialLevelPlayDidLoadWithAdInfo:adInfo];
}
- (void)didOpenWithAdInfo:(ISAdInfo *)adInfo {
[_delegate interstitialLevelPlayDidOpenWithAdInfo:adInfo];
}
- (void)didShowWithAdInfo:(ISAdInfo *)adInfo {
[_delegate interstitialLevelPlayDidShowWithAdInfo:adInfo];
}
@end

View File

@ -1,37 +0,0 @@
fileFormatVersion: 2
guid: 78c2bca09dfad4e4e9a79d64c1173193
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
- first:
tvOS: tvOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,36 +0,0 @@
//
// RewardedVideoLevelPlayCallbacksWrapper.h
// iOSBridge
//
// Created by Moshe Aviv Aslanov on 02/05/2022.
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <IronSource/IronSource.h>
NS_ASSUME_NONNULL_BEGIN
@protocol RewardedVideoLevelPlayCallbacksWrapper <NSObject>
- (void)rewardedVideoLevelPlayDidLoadWithAdInfo:(ISAdInfo *)adInfo;
- (void)rewardedVideoLevelPlayDidFailToLoadWithError:(NSError *)error;
- (void)hasAvailableAdWithAdInfo:(ISAdInfo *)adInfo;
- (void)hasNoAvailableAd;
- (void)rewardedVideoLevelPlayDidReceiveRewardForPlacement:(ISPlacementInfo *)placementInfo withAdInfo:(ISAdInfo *)adInfo;
- (void)rewardedVideoLevelPlayDidFailToShowWithError:(NSError *)error andAdInfo:(ISAdInfo *)adInfo;
- (void)rewardedVideoLevelPlayDidOpenWithAdInfo:(ISAdInfo *)adInfo;
- (void)rewardedVideoLevelPlayDidCloseWithAdInfo:(ISAdInfo *)adInfo;
- (void)rewardedVideoLevelPlayDidClick:(ISPlacementInfo *)placementInfo withAdInfo:(ISAdInfo *)adInfo;
@end
@interface RewardedVideoLevelPlayCallbacksWrapper : NSObject <LevelPlayRewardedVideoManualDelegate,LevelPlayRewardedVideoDelegate>
@property (nonatomic, weak) id<RewardedVideoLevelPlayCallbacksWrapper>delegate;
- (instancetype) initWithDelegate:(id<RewardedVideoLevelPlayCallbacksWrapper>)delegate;
@end
NS_ASSUME_NONNULL_END

View File

@ -1,27 +0,0 @@
fileFormatVersion: 2
guid: fcefc4557ac4e448ba36f34bab48afa7
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,59 +0,0 @@
//
// RewardedVideoLevelPlayCallbacksWrapper.m
// iOSBridge
//
// Created by Moshe Aviv Aslanov on 02/05/2022.
// Copyright © 2022 yossi mozgerashvily. All rights reserved.
//
#import "RewardedVideoLevelPlayCallbacksWrapper.h"
@implementation RewardedVideoLevelPlayCallbacksWrapper
-(instancetype)initWithDelegate:(id<RewardedVideoLevelPlayCallbacksWrapper>)delegate {
self = [super init];
if (self) {
_delegate = delegate;
}
return self;
}
- (void)didClick:(ISPlacementInfo *)placementInfo withAdInfo:(ISAdInfo *)adInfo {
[_delegate rewardedVideoLevelPlayDidClick:placementInfo withAdInfo:adInfo];
}
- (void)didCloseWithAdInfo:(ISAdInfo *)adInfo {
[_delegate rewardedVideoLevelPlayDidCloseWithAdInfo:adInfo];
}
- (void)didFailToShowWithError:(NSError *)error andAdInfo:(ISAdInfo *)adInfo {
[_delegate rewardedVideoLevelPlayDidFailToShowWithError:error andAdInfo:adInfo];
}
- (void)didOpenWithAdInfo:(ISAdInfo *)adInfo {
[_delegate rewardedVideoLevelPlayDidOpenWithAdInfo:adInfo];
}
- (void)didReceiveRewardForPlacement:(ISPlacementInfo *)placementInfo withAdInfo:(ISAdInfo *)adInfo {
[_delegate rewardedVideoLevelPlayDidReceiveRewardForPlacement:placementInfo withAdInfo:adInfo];
}
- (void)hasAvailableAdWithAdInfo:(ISAdInfo *)adInfo {
[_delegate hasAvailableAdWithAdInfo:adInfo];
}
- (void)hasNoAvailableAd {
[_delegate hasNoAvailableAd];
}
- (void)didFailToLoadWithError:(NSError *)error {
[_delegate rewardedVideoLevelPlayDidFailToLoadWithError:error];
}
- (void)didLoadWithAdInfo:(ISAdInfo *)adInfo {
[_delegate rewardedVideoLevelPlayDidLoadWithAdInfo:adInfo];
}
@end

View File

@ -1,37 +0,0 @@
fileFormatVersion: 2
guid: 1797d687a7b4544a188ded2b118f7dcf
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
- first:
tvOS: tvOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant: