Skip to content

Commit

Permalink
Merge pull request #3224 from numbersprotocol/v240220-capture-cam-ion…
Browse files Browse the repository at this point in the history
…ic-launch

V240220 capture cam ionic launch
  • Loading branch information
shc261392 committed Feb 23, 2024
2 parents b32471d + 253a172 commit 6db3c2b
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 33 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.89.2] - 2024-02-21

### Fixed

1. Fix appsflyer iOS integration test IDFA not collected [#3223](https://github.com/numbersprotocol/capture-lite/pull/3223)

## [0.89.2] - 2024-02-21

### Added

1. Feature track new app users shutter click (#3215)
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "io.numbersprotocol.capturelite"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 892
versionName "0.89.2"
versionCode 893
versionName "0.89.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildFeatures {
Expand Down
8 changes: 4 additions & 4 deletions ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -368,13 +368,13 @@
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 892;
CURRENT_PROJECT_VERSION = 893;
DEVELOPMENT_TEAM = G7NB5YCKAP;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = G7NB5YCKAP;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.89.2;
MARKETING_VERSION = 0.89.3;
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
PRODUCT_BUNDLE_IDENTIFIER = io.numbersprotocol.capturelite;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -395,13 +395,13 @@
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 892;
CURRENT_PROJECT_VERSION = 893;
DEVELOPMENT_TEAM = G7NB5YCKAP;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = G7NB5YCKAP;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.89.2;
MARKETING_VERSION = 0.89.3;
PRODUCT_BUNDLE_IDENTIFIER = io.numbersprotocol.capturelite;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = NumbersAppDistributionV4;
Expand Down
2 changes: 0 additions & 2 deletions ios/App/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
platform :ios, '15.6'
use_frameworks!

$AppsFlyerStrictMode=true

# workaround to avoid Xcode caching of Pods that requires
# Product -> Clean Build Folder after new Cordova plugins installed
# Requires CocoaPods 1.6 or newer
Expand Down
10 changes: 6 additions & 4 deletions ios/App/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
PODS:
- AppsflyerCapacitorPlugin (6.12.1):
- AppsFlyerFramework/Strict (= 6.12.1)
- AppsFlyerFramework (= 6.12.1)
- Capacitor
- AppsFlyerFramework/Strict (6.12.1)
- AppsFlyerFramework (6.12.1):
- AppsFlyerFramework/Main (= 6.12.1)
- AppsFlyerFramework/Main (6.12.1)
- Capacitor (5.0.5):
- CapacitorCordova
- CapacitorApp (5.0.3):
Expand Down Expand Up @@ -208,7 +210,7 @@ EXTERNAL SOURCES:
:path: "../../node_modules/@numbersprotocol/preview-video"

SPEC CHECKSUMS:
AppsflyerCapacitorPlugin: 3cc3df807ba8f28f7ef44252b0107ffc2b4cb994
AppsflyerCapacitorPlugin: 0094cd9f754091410f30237ab7f21b2604db12f5
AppsFlyerFramework: e29b63fc5441400a38a31c5501c1da500b9d53d0
Capacitor: b1248915663add1bd6567e2b67c1c1fa3abcf5e8
CapacitorApp: 7a5dec8b33573707164b293475d5c89ba684364a
Expand Down Expand Up @@ -246,6 +248,6 @@ SPEC CHECKSUMS:
NumbersprotocolPreviewVideo: 2cfa3fa666c83850903a220d74dc855ac5b6a520
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4

PODFILE CHECKSUM: bc27c544feb7d8f533aeb72cadce60b633a90ab4
PODFILE CHECKSUM: 617daf5c0347d391c6f083d98e214c77113572c6

COCOAPODS: 1.14.3
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capture-lite",
"version": "0.89.2",
"version": "0.89.3",
"author": "numbersprotocol",
"homepage": "https://numbersprotocol.io/",
"scripts": {
Expand Down
40 changes: 22 additions & 18 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,14 @@ export class AppComponent {
private readonly inAppStoreService: InAppStoreService,
private readonly zone: NgZone,
private readonly router: Router,
appsFlyerService: AppsFlyerService,
notificationService: NotificationService,
pushNotificationService: PushNotificationService,
langaugeService: LanguageService,
diaBackendAuthService: DiaBackendAuthService,
diaBackendNotificationService: DiaBackendNotificationService,
uploadService: DiaBackendAssetUploadingService
private readonly appsFlyerService: AppsFlyerService,
private readonly notificationService: NotificationService,
private readonly pushNotificationService: PushNotificationService,
private readonly langaugeService: LanguageService,
private readonly diaBackendAuthService: DiaBackendAuthService,
private readonly diaBackendNotificationService: DiaBackendNotificationService,
private readonly uploadService: DiaBackendAssetUploadingService
) {
appsFlyerService.initAppsFlyerSDK();
notificationService.requestPermission();
pushNotificationService.register();
langaugeService.initialize();
diaBackendAuthService.initialize$().pipe(untilDestroyed(this)).subscribe();
uploadService.initialize$().pipe(untilDestroyed(this)).subscribe();
diaBackendNotificationService
.initialize$()
.pipe(untilDestroyed(this))
.subscribe();
this.inAppStoreService.initialize();
this.initializeApp();
this.initializeDeepLinking();
this.restoreAppState();
Expand All @@ -84,6 +73,21 @@ export class AppComponent {
await this.platform.ready();
AppComponent.setDarkMode(true);
await SplashScreen.hide();

await this.appsFlyerService.initAppsFlyerSDK();
this.notificationService.requestPermission();
this.pushNotificationService.register();
this.langaugeService.initialize();
this.diaBackendAuthService
.initialize$()
.pipe(untilDestroyed(this))
.subscribe();
this.uploadService.initialize$().pipe(untilDestroyed(this)).subscribe();
this.diaBackendNotificationService
.initialize$()
.pipe(untilDestroyed(this))
.subscribe();
this.inAppStoreService.initialize();
}

async initializeDeepLinking() {
Expand Down

0 comments on commit 6db3c2b

Please sign in to comment.