Discussions
I want to delete my credit card
I gave up the Pro membership. I cannot remove my credit card from the system. it keeps trying to withdraw money. I request that my credit card registered in the system be removed and my payment plan be free.
Posted by Zack Hatlen about 1 month ago
Revenue chart
Is revenue shown in the revenue chart based on the country of the user's iPhone settings or the country of the app store?
Posted by Olga about 1 month ago
infinity Adapty Identify
Hi, my Unity application freezes when I do Adapty.Identify, just no callback comes back
public SDK key added to the manifest,
on the adapty side of the console, I specified the package name in the android settings, in Unity I also specified the same package name and started the keystore, clicked Resolve
I get this error on my mac **AdaptyUnityError.DecodingFailed(System.NullReferenceException: Object reference not set to an instance of an object
at AdaptySDK.SimpleJSON.JSONNode.Parse (System.String aJSON) [0x0044c] in ...**
```
public static async UniTask<bool> TryLoginAsync(string userId)
{
if (_loginStatus != AsyncOperationStatus.NotStarted)
{
return false;
}
_loginStatus = AsyncOperationStatus.Pending;
Debug.Log($"TryLoginAsync : {userId}");
Adapty.Identify(userId, OnIdentifyCompleted);
await UniTask.WaitUntil(() => _loginStatus != AsyncOperationStatus.Pending);
return _loginStatus == AsyncOperationStatus.Complete;
void OnIdentifyCompleted(Adapty.Error error)
{
Debug.Log($"OnIdentifyCompleted");
if (error != null)
{
Debug.LogError(error.Detail);
_loginStatus = AsyncOperationStatus.Failed;
}
_loginStatus = AsyncOperationStatus.Complete;
}
}
userId is Guid.NewGuid().ToString()
```
Posted by Matvey Brushkou about 1 month ago
Error running 'pod install'
I'm using the Flutter sdk and cannot run pod install without getting the following error. This is preventing me from building to device. I'm using the latest version of flutter and VS Code.
```
[!] CocoaPods could not find compatible versions for pod "Adapty":
In Podfile:
adapty_flutter (from `.symlinks/plugins/adapty_flutter/ios`) was resolved to 2.9.3, which depends on
Adapty (= 2.9.6)
adapty_ui_flutter (from `.symlinks/plugins/adapty_ui_flutter/ios`) was resolved to 2.0.2, which depends on
AdaptyUI (= 2.0.2) was resolved to 2.0.2, which depends on
Adapty (~> 2.7.0)
```
My pubspec.yaml looks like this.
adapty_flutter: ^2.9.0
adapty_ui_flutter: ^2.0.6
I've been trying to figure this out for hours and am going a little crazy. Any help would be greatly appreciated. Thank you!
Posted by Peter about 2 months ago
Blank cancellation screen
The Manage button brings up a blank cancellation screen saying "cannot connect." Is that a sandbox problem?
Posted by Mike Smithwick about 2 months ago
Play Market request failed: Google Play In-app Billing API version is less than 3
I started getting the error The Play Market request could not be completed: Google Play In-app Billing API version is less than 3. Both on the emulator and on the physical phone
Posted by Vasyl about 2 months ago
isActive = false
When I get a successful subscription result from Adapty.makePurchase method, adapty profile in the closure of the method doesn't contain any active subscription. In a while(2-3 minutes) the didLoadLatestProfile gets the profile with active subscription. Why does Adapty return the wrong info in the profile after subscription? Sandbox environment iOS.
Posted by Siarhei about 2 months ago
product repurchase dont open pay modal second time
With a sandbox account, consumable or subscription products work correctly the first time.
But when I try to buy consumables a second time and more Adapty.makePurchase return success the actual pay modal did not even show up. Seems like it somehow skipped this part. Adapty analytics payments don't record for the user as well
Recently I switched from v1 to v2 App Store Notification as well as upgraded adapty ios sdk to 2.9.0 +
Not sure if it is somehow related but I assume so. Any suggestions? Will the same behavior impact production? I tried creating a new sandbox account but had the same behavior.
Posted by Vova S 2 months ago
Using paywall builder to make purchases outside of Apple/Google
Is it possible?
Hi, I want to implement IAP where the Appstore/GooglePlay are not working at the moment, or alternative stores are used. The most suitable candidate is "void paywallViewDidStartPurchase()" from AdaptyUI. All the necessary information is already there, but there is no way to prevent the system IAP dialog from being shown.
Maybe there is some way to start a custom checkout process from paywall builder?
Posted by Andy 2 months ago
Android SDK 2.9.1 > Error : 400 Bad Request > setVariationId()
Hi, Team
We are facing the below issues when trying to set up an event after purchase.
Ref Doc: <https://docs.adapty.io/docs/android-observer-mode#ab-tests-analytics>
> Request is unsuccessful. <https://api.adapty.io/api/v1/sdk/in-apps/transaction-variation-id/> Code: 400, Response: {"errors":[{"detail":"Transaction with this id does not exist","status":"400","source":{"pointer":"/data"},"code":"TRANSACTION_NOT_FOUND"}]}
```java
Adapty.setVariationId(purchase.getOrderId(), paywall.getVariationId(), new ErrorCallback() {
@Override
public void onResult(@Nullable AdaptyError error) {
if (error == null) {
ObLogger.i(TAG, "setVariationId onResult: EventSent --> ");
} else {
ObLogger.i(TAG, "setVariationId onResult: error --> " + error.toString());
}
}
});
```
> Note:
>
> 1. Paywall: Comes from "Adapty.getPaywall()" function
> 2. Purchase: Comes from GooglePlayBilling "onPurchasesUpdated()" method.
>
> SDK : implementation 'io.adapty:android-sdk:2.9.1'
Posted by Axita Savani 2 months ago