Skip to content

Commit

Permalink
* TenjinSDK updated to 1.14.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dkimitsa committed Sep 7, 2024
1 parent 84a6c40 commit f6ebeca
Show file tree
Hide file tree
Showing 13 changed files with 96 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ v1.44.0 - in development
| [Pollfish](pollfish/) | 6.5.0 |
| [SAMKeychain](samkeychain/) | 1.5.3 |
| [Singular](singular/) | 12.4.4 |
| [Tenjin](tenjin/) | 1.14.3 |
| [Tenjin](tenjin/) | 1.14.4 |
| [UnityAds](unityads/) | 4.12.1 |
| [YouTubePlayer](youtube/) | 1.0.4 |

Expand Down
1 change: 1 addition & 0 deletions tenjin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

| RoboPods Version | Tenjin Version |
|------------------|-----------------|
| 1.44.0 | 1.14.4 |
| 1.40.0 | 1.14.3 |
| 1.39.0 | 1.14.1 |
| 1.38.0 | 1.14.0 |
Expand Down
2 changes: 1 addition & 1 deletion tenjin/ios/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>robopods-tenjin-ios</artifactId>
<name>RoboPods Tenjin SDK iOS v1.14.3</name>
<name>RoboPods Tenjin SDK iOS v1.14.4</name>
<packaging>jar</packaging>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
#define kTenjinConversionEndpoint @"conversion-values"

//this line replaced by build script
#define kTenjinTenjinSDKVersion @"1.14.3"
#define kTenjinTenjinSDKVersion @"1.14.4"



#define kTenjinPlatformIos @"ios"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,14 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif

@class NSString;

SWIFT_CLASS("_TtC9TenjinSDK26AttributionOperationHelper")
@interface AttributionOperationHelper : NSObject
- (void)getAttributionTokenWithCompletion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion;
- (void)requestAttributionDetailsWithCompletion:(void (^ _Nonnull)(NSDictionary<NSString *, id> * _Nullable, NSError * _Nullable))completion;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

enum PurposeConsentStatus : NSInteger;

SWIFT_CLASS("_TtC9TenjinSDK10GDPRHelper")
Expand Down Expand Up @@ -537,6 +545,14 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif

@class NSString;

SWIFT_CLASS("_TtC9TenjinSDK26AttributionOperationHelper")
@interface AttributionOperationHelper : NSObject
- (void)getAttributionTokenWithCompletion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion;
- (void)requestAttributionDetailsWithCompletion:(void (^ _Nonnull)(NSDictionary<NSString *, id> * _Nullable, NSError * _Nullable))completion;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

enum PurposeConsentStatus : NSInteger;

SWIFT_CLASS("_TtC9TenjinSDK10GDPRHelper")
Expand Down
6 changes: 6 additions & 0 deletions tenjin/ios/src/main/bro-gen/tenjin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ classes:
name: setBooleanValue

GDPRHelper: {}
AttributionOperationHelper:
methods:
'-getAttributionTokenWithCompletion:':
name: getAttributionToken
'-requestAttributionDetailsWithCompletion:':
name: requestAttributionDetails
protocols:
TJNRequestSender:
methods:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*
* Copyright (C) 2013-2015 RoboVM AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.robovm.pods.tenjin;

/*<imports>*/
import java.io.*;
import java.nio.*;
import java.util.*;
import org.robovm.objc.*;
import org.robovm.objc.annotation.*;
import org.robovm.objc.block.*;
import org.robovm.rt.*;
import org.robovm.rt.annotation.*;
import org.robovm.rt.bro.*;
import org.robovm.rt.bro.annotation.*;
import org.robovm.rt.bro.ptr.*;
import org.robovm.apple.foundation.*;
import org.robovm.apple.uikit.*;
import org.robovm.apple.storekit.*;
import org.robovm.apple.coredata.*;
import org.robovm.apple.dispatch.*;
/*</imports>*/

/*<javadoc>*/

/*</javadoc>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("TenjinSDK.AttributionOperationHelper")/*</annotations>*/
/*<visibility>*/public/*</visibility>*/ class /*<name>*/AttributionOperationHelper/*</name>*/
extends /*<extends>*/NSObject/*</extends>*/
/*<implements>*//*</implements>*/ {

/*<ptr>*/public static class AttributionOperationHelperPtr extends Ptr<AttributionOperationHelper, AttributionOperationHelperPtr> {}/*</ptr>*/
/*<bind>*/static { ObjCRuntime.bind(AttributionOperationHelper.class); }/*</bind>*/
/*<constants>*//*</constants>*/
/*<constructors>*/
public AttributionOperationHelper() {}
protected AttributionOperationHelper(Handle h, long handle) { super(h, handle); }
protected AttributionOperationHelper(SkipInit skipInit) { super(skipInit); }
/*</constructors>*/
/*<properties>*/

/*</properties>*/
/*<members>*//*</members>*/
/*<methods>*/
@Method(selector = "getAttributionTokenWithCompletion:")
public native void getAttributionToken(@Block VoidBlock2<NSString, NSError> completion);
@Method(selector = "requestAttributionDetailsWithCompletion:")
public native void requestAttributionDetails(@Block VoidBlock2<NSDictionary<NSString, ?>, NSError> completion);
/*</methods>*/
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/*<javadoc>*/

/*</javadoc>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("_TtC9TenjinSDK10GDPRHelper")/*</annotations>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("TenjinSDK.GDPRHelper")/*</annotations>*/
/*<visibility>*/public/*</visibility>*/ class /*<name>*/GDPRHelper/*</name>*/
extends /*<extends>*/NSObject/*</extends>*/
/*<implements>*//*</implements>*/ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/*<javadoc>*/

/*</javadoc>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("_TtC9TenjinSDK10QueueEvent")/*</annotations>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("TenjinSDK.QueueEvent")/*</annotations>*/
/*<visibility>*/public/*</visibility>*/ class /*<name>*/QueueEvent/*</name>*/
extends /*<extends>*/NSManagedObject/*</extends>*/
/*<implements>*//*</implements>*/ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/*<javadoc>*/

/*</javadoc>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("_TtC9TenjinSDK13RequestHelper")/*</annotations>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("TenjinSDK.RequestHelper")/*</annotations>*/
/*<visibility>*/public/*</visibility>*/ class /*<name>*/RequestHelper/*</name>*/
extends /*<extends>*/NSObject/*</extends>*/
/*<implements>*//*</implements>*/ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/*<javadoc>*/

/*</javadoc>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("_TtC9TenjinSDK13TJNHTTPClient")/*</annotations>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("TenjinSDK.TJNHTTPClient")/*</annotations>*/
/*<visibility>*/public/*</visibility>*/ class /*<name>*/TJNHTTPClient/*</name>*/
extends /*<extends>*/NSObject/*</extends>*/
/*<implements>*/implements NSURLSessionDelegate, TJNRequestSender/*</implements>*/ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/*<javadoc>*/

/*</javadoc>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("_TtC9TenjinSDK16TenjinDatasource")/*</annotations>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("TenjinSDK.TenjinDatasource")/*</annotations>*/
/*<visibility>*/public/*</visibility>*/ class /*<name>*/TenjinDatasource/*</name>*/
extends /*<extends>*/NSObject/*</extends>*/
/*<implements>*//*</implements>*/ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/*<javadoc>*/

/*</javadoc>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("_TtC9TenjinSDK16TenjinRepository")/*</annotations>*/
/*<annotations>*/@Library(Library.INTERNAL) @NativeClass("TenjinSDK.TenjinRepository")/*</annotations>*/
/*<visibility>*/public/*</visibility>*/ class /*<name>*/TenjinRepository/*</name>*/
extends /*<extends>*/NSObject/*</extends>*/
/*<implements>*//*</implements>*/ {
Expand Down

0 comments on commit f6ebeca

Please sign in to comment.