Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
76d1f1e
feat(ios): set minimum deployement target to 15.6
sultanmyrza Jul 13, 2023
d622e5b
chore(plugin): bump @capacitor-community/advertising-id to 5.0.0
sultanmyrza Jul 27, 2023
35035c7
chore(android): add permission related to appsflyer
sultanmyrza Jul 27, 2023
2dc3dbf
refactor(appsflyer): document, remove unused method
sultanmyrza Jul 27, 2023
1a6ecd5
fix(settings.page): sync profile after email verified
sultanmyrza Jul 26, 2023
5873803
fix(activities.page): change text from "Network Actions" to "Orders"
sultanmyrza Jul 27, 2023
03b7829
feat(dia-backend-store): add listAllNetworkAppOrders, listAllNetworkA…
sultanmyrza Jul 27, 2023
347f2af
feat: fetch network app orders from dia backend
sultanmyrza Jul 27, 2023
8c49316
feat: show network app order details with bubble iframe
sultanmyrza Jul 27, 2023
005fe8a
Fix: Show 30MB Limit Dialog for Media
sultanmyrza Aug 3, 2023
2f0e2fc
refactor: rename var to better convey the idea
sultanmyrza Aug 3, 2023
fe3d417
Resolve merge conflicts by merging 'mileston-v230725' to 'fix-v230725…
sultanmyrza Aug 3, 2023
146437c
Merge branch 'milestone-v230725' into fix-v230725-issue-Some-device-c…
sultanmyrza Aug 3, 2023
cce284a
Merge pull request #2962 from numbersprotocol/fix-v230725-appsflyer-a…
sultanmyrza Aug 3, 2023
4bc0546
Merge pull request #2963 from numbersprotocol/fix-v230725-Update-Icon…
sultanmyrza Aug 3, 2023
4630fb9
Merge pull request #2965 from numbersprotocol/feature-v230725-showing…
sultanmyrza Aug 3, 2023
64ee163
Merge pull request #2966 from numbersprotocol/fix-v230725-issue-Some-…
sultanmyrza Aug 3, 2023
72b1261
Merge pull request #2967 from numbersprotocol/feat-set-ios-minimum-ve…
sultanmyrza Aug 3, 2023
b52b29d
Revert "Merge pull request #2966 from numbersprotocol/fix-v230725-iss…
sultanmyrza Aug 7, 2023
285f464
fix: iframe copy order id to clipboard
sultanmyrza Aug 7, 2023
3ebde6a
Merge pull request #2971 from numbersprotocol/feature-v230725-showing…
sultanmyrza Aug 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<!-- Permissions -->

Expand Down Expand Up @@ -41,6 +42,9 @@
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<!-- For in-app purchases -->
<uses-permission android:name="com.android.vending.BILLING" />
<!-- https://dev.appsflyer.com/hc/docs/install-android-sdk#revoking-the-ad_id-permission -->
<uses-permission android:name="com.google.android.gms.permission.AD_ID"
tools:node="remove"/>


<queries>
Expand Down
4 changes: 2 additions & 2 deletions ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
DEVELOPMENT_TEAM = G7NB5YCKAP;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = G7NB5YCKAP;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.82.4;
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
Expand All @@ -399,7 +399,7 @@
DEVELOPMENT_TEAM = G7NB5YCKAP;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = G7NB5YCKAP;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.82.4;
PRODUCT_BUNDLE_IDENTIFIER = io.numbersprotocol.capturelite;
Expand Down
4 changes: 2 additions & 2 deletions ios/App/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ PODS:
- Capacitor
- CapacitorClipboard (5.0.4):
- Capacitor
- CapacitorCommunityAdvertisingId (1.0.0):
- CapacitorCommunityAdvertisingId (5.0.0):
- Capacitor
- CapacitorCommunityBluetoothLe (2.2.3):
- Capacitor
Expand Down Expand Up @@ -223,7 +223,7 @@ SPEC CHECKSUMS:
CapacitorBrowser: 2688852d02f1e89560a31b70521c71a5e7348860
CapacitorCamera: 9b5c8e809c1042f263994f97ba846aa37e974f12
CapacitorClipboard: 46f3959735fa0d96b9989dafcc4aed52e624d163
CapacitorCommunityAdvertisingId: ffbeee30080f0057f7af6e465a7552b68a3d3fdf
CapacitorCommunityAdvertisingId: 41543d8212fb12b6913b798bf1442c2a6bc1ae91
CapacitorCommunityBluetoothLe: 7de4f21022a05b15195abfb002872884d00715fc
CapacitorCommunityHttp: 7be90668527ef14ee10d08135b0e00fac9cf8247
CapacitorCommunityWifi: 47188c74f2c6bcaefb619380863be8c67b1917c8
Expand Down
16 changes: 8 additions & 8 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
Expand Up @@ -31,7 +31,7 @@
"@angular/router": "^14.2.0",
"@awesome-cordova-plugins/core": "^5.46.0",
"@awesome-cordova-plugins/in-app-purchase-2": "^5.43.0",
"@capacitor-community/advertising-id": "^1.0.0",
"@capacitor-community/advertising-id": "^5.0.0",
"@capacitor-community/bluetooth-le": "^2.2.3",
"@capacitor-community/http": "github:numbersprotocol/http#fix-catch-disabled-Local-Network-case-on-iOS",
"@capacitor-community/wifi": "github:numbersprotocol/community-capacitor-wifi#capacitor3",
Expand Down
2 changes: 1 addition & 1 deletion src/app/features/home/activities/activities.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
[text]="t('userGuide.viewNetworkActionsHistory')"
>
<ion-label>
{{ t('networkActions') }}
{{ t('orders') }}
</ion-label>
</ion-segment-button>
</ion-segment>
Expand Down
8 changes: 8 additions & 0 deletions src/app/features/home/activities/activities.page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ mat-toolbar {
padding-right: 40px;
}
}

ion-segment {
display: flex;

ion-segment-button {
flex: 1;
}
}
Original file line number Diff line number Diff line change
@@ -1,118 +1,16 @@
<mat-toolbar *transloco="let t">
<app-capture-back-button></app-capture-back-button>
<span>{{ t('networkActionOrderDetails') }}</span>
</mat-toolbar>
<ng-container *ngIf="isOffline$ | ngrxPush; else onlineTemplate">
<mat-toolbar *transloco="let t">
<app-capture-back-button></app-capture-back-button>
<span>{{ t('networkActionOrderDetails') }}</span>
</mat-toolbar>
</ng-container>

<ion-content *ngrxLet="order$ as order">
<div *transloco="let t">
<h4 class="datetime">
{{ order['Created Date'] | date: 'short' }}
</h4>
<ion-card>
<ion-grid>
<ion-row>
<img
decoding="async"
loading="lazy"
[src]="
(order.assetThumbnailUrl$ | ngrxPush) ||
'/assets/images/image-placeholder.png'
"
/>
</ion-row>

<ion-row>
<ion-col size="12">
<h4 id="network-action-name">{{ order.network_app_name_text }}</h4>
</ion-col>
</ion-row>
<ion-row id="order-id-row" class="detail-info-rows">
<ion-col size="3.5">
<ion-label>{{ t('order') + ' ID' }}:</ion-label>
</ion-col>
<ion-col class="wrap-text" align="end">
<ion-label>{{ order.order_id_text }} </ion-label>
</ion-col>
<ion-col size="1" align="end">
<ion-icon
size="small"
name="copy-outline"
(click)="copyToClipboard(order.order_id_text)"
></ion-icon>
</ion-col>
</ion-row>

<ion-row class="detail-info-rows">
<ion-col size="3.5">
<ion-label>{{ t('resultUrl') }}:</ion-label>
</ion-col>
<ion-col class="wrap-text" align="end">
<ion-label
*ngIf="order.result_url_text !== undefined"
(click)="openResultUrl(order.result_url_text)"
>
<a> {{ order.result_url_text }} </a>
</ion-label>

<ion-label
*ngIf="order.result_url_text === undefined"
(click)="openResultUrl(resultUrlFromAssetId(order.asset_id_text))"
>
<a> {{ resultUrlFromAssetId(order.asset_id_text) }} </a>
</ion-label>
</ion-col>
<ion-col size="1"> </ion-col>
</ion-row>

<ion-row class="detail-info-rows">
<ion-col size="3.5">
<ion-label>{{ t('payment.price') }}:</ion-label>
</ion-col>
<ion-col align="end">
<ion-label
>{{ order.price_number | number: '1.4-4' }}
{{ order.cost_token_ticker_text || 'NUM' }}</ion-label
>
</ion-col>
<ion-col size="1"></ion-col>
</ion-row>
<ion-row class="detail-info-rows">
<ion-col size="3.5">
<ion-label>{{ t('payment.fee') }}:</ion-label>
</ion-col>
<ion-col align="end">
<ion-label
>{{ order.gas_fee_number | number: '1.4-4' }}
{{ order.cost_token_ticker_text || 'NUM' }}</ion-label
>
</ion-col>
<ion-col size="1"></ion-col>
</ion-row>
<ion-row class="detail-info-rows">
<ion-col size="3.5">
<ion-label>{{ t('payment.totalCost') }}:</ion-label>
</ion-col>
<ion-col align="end">
<ion-label
>{{ order.total_cost_number | number: '1.4-4' }}
{{ order.cost_token_ticker_text || 'NUM' }}</ion-label
>
</ion-col>
<ion-col size="1"></ion-col>
</ion-row>

<ion-row>
<ion-col id="status-col">
<button
[class]="order.status_text"
mat-stroked-button
disableRipple
>
{{ t('networkActionOrderState.' + order.status_text) }}
</button>
</ion-col>
</ion-row>
</ion-grid>
</ion-card>
</div>
</ion-content>
<ng-template #onlineTemplate>
<ng-container *ngIf="iframeUrl$ | ngrxPush as iframeUrl">
<iframe [src]="iframeUrl | safeResourceUrl"> </iframe>
</ng-container>
<ion-spinner
*ngIf="(iframeLoaded$ | async) !== true"
name="lines-sharp"
></ion-spinner>
</ng-template>
Original file line number Diff line number Diff line change
@@ -1,9 +1,35 @@
mat-toolbar {
span {
padding-right: 40px;
font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 21px;
text-align: center;
color: white;
}
}

.no-network-text {
font-size: 18px;
margin: auto;
}

iframe {
background-color: black;
width: 100vw;
height: 100vh;
border: 0;
}

ion-spinner {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
scale: 1.5;
}

ion-content {
.datetime {
width: 90vw;
Expand Down
Loading