Skip to content

Commit

Permalink
1941
Browse files Browse the repository at this point in the history
  • Loading branch information
Velkonost committed Mar 4, 2024
1 parent c59bf77 commit 9592f23
Show file tree
Hide file tree
Showing 7 changed files with 9,322 additions and 9,415 deletions.
Binary file added androidApp/app/release/v8(1.3.0)-release.aab
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ java = "18"
minSdk = "26"
targetSdk = "34"
compileSdk = "34"
versionCode = "7"
versionName = "1.2.2-alpha"
versionCode = "8"
versionName = "1.3.0"

# Dependencies
firebase-android-bom = "32.3.1"
Expand Down
18,704 changes: 9,308 additions & 9,396 deletions iosApp/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions iosApp/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,7 @@
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CODE_SIGN_ENTITLEMENTS = iosApp/iosApp.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 5;
DEVELOPMENT_ASSET_PATHS = iosApp/Assets.xcassets;
DEVELOPMENT_TEAM = 2Y83RX392R;
ENABLE_PREVIEWS = YES;
Expand All @@ -1611,7 +1611,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = "1.2-DEBUG";
MARKETING_VERSION = "1.3-DEBUG";
PRODUCT_BUNDLE_IDENTIFIER = com.velkonost.getbetter;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
Expand All @@ -1632,7 +1632,7 @@
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CODE_SIGN_ENTITLEMENTS = iosApp/iosApp.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 5;
DEVELOPMENT_ASSET_PATHS = iosApp/Assets.xcassets;
DEVELOPMENT_TEAM = 2Y83RX392R;
ENABLE_PREVIEWS = YES;
Expand All @@ -1643,7 +1643,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.2;
MARKETING_VERSION = 1.3;
PRODUCT_BUNDLE_IDENTIFIER = com.velkonost.getbetter;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
Expand Down
Binary file not shown.
4 changes: 1 addition & 3 deletions iosApp/iosApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@
<string>GetBetter</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>4</string>
<key>CFBundleVersion</key>
<string>4</string>
<string>5</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ internal constructor(

private fun checkSubscription() {
launchJob {

val shouldSuggestResumeSubscription =
subscriptionRepository.shouldSuggestResumeSubscription()

Expand All @@ -78,15 +77,13 @@ internal constructor(
emit(viewState.value.copy(showAds = !it.isActive || it.fake))

if (
// !it.isActive
// && !it.fake
// && it.trialUsed
// && !it.autoRenewal
// && it.expiredAt != -1L
// && !it.isUnlimited
// &&
// shouldSuggestResumeSubscription
true
!it.isActive
&& !it.fake
&& it.trialUsed
&& !it.autoRenewal
&& it.expiredAt != -1L
&& !it.isUnlimited
&& shouldSuggestResumeSubscription
) {
obtainResumeSubscriptionSuggested()
emit(SocialEvent.SuggestResumeSubscription)
Expand Down

0 comments on commit 9592f23

Please sign in to comment.