From ed583b551519106248e544d770c3a7bf15a2b0bd Mon Sep 17 00:00:00 2001 From: vlad Date: Tue, 22 Oct 2024 21:32:25 +0400 Subject: [PATCH 1/3] chores --- lib/src/adapty-handler.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/src/adapty-handler.ts b/lib/src/adapty-handler.ts index 8dc04e7..e434f3f 100644 --- a/lib/src/adapty-handler.ts +++ b/lib/src/adapty-handler.ts @@ -52,7 +52,10 @@ export class Adapty { * wait until activate call is resolved before calling native methods * Not applicable for activate method ofc */ - if (this.activating && (!this.nonWaitingMethods.includes(method) || method === 'is_activated')) { + if ( + this.activating && + (!this.nonWaitingMethods.includes(method) || method === 'is_activated') + ) { log.wait({}); await this.activating; log.waitComplete({}); @@ -901,12 +904,7 @@ export class Adapty { const body = new ParamMap(); - const result = await this.handle( - 'is_activated', - body, - ctx, - log, - ); + const result = await this.handle('is_activated', body, ctx, log); return result === 'true'; } From fa375bed8cd695c14e13b9eeffd6eab7674b45d5 Mon Sep 17 00:00:00 2001 From: vlad Date: Wed, 23 Oct 2024 13:16:51 +0400 Subject: [PATCH 2/3] fix --- lib/android/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/android/build.gradle b/lib/android/build.gradle index 33f9fbe..67b6e15 100644 --- a/lib/android/build.gradle +++ b/lib/android/build.gradle @@ -103,6 +103,8 @@ dependencies { //noinspection GradleDynamicVersion api 'io.adapty.internal:crossplatform:3.0.0' + implementation 'io.adapty:android-ui:3.0.1' + // Compatible with older and newer RN //noinspection GradleDynamicVersion implementation 'com.facebook.react:react-native:+' From 1f406266685ac1e2e9a431d4c314cf9b1639094f Mon Sep 17 00:00:00 2001 From: vlad Date: Wed, 23 Oct 2024 13:18:50 +0400 Subject: [PATCH 3/3] bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8460e54..5862b10 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package", "name": "react-native-adapty", - "version": "3.0.0", + "version": "3.0.1", "description": "Adapty React Native SDK", "license": "MIT", "author": "Vanya Dorofeyev (https://github.com/divanc)",