Skip to content

Commit a6d1928

Browse files
authored
Merge pull request #1542 from numbersprotocol/develop
Develop
2 parents 409b472 + f765b10 commit a6d1928

29 files changed

+278
-55
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 0.54.2 - 2022-04-21
9+
10+
### Changed
11+
12+
- Hide buy NUM button at wallets page
13+
14+
### Removed
15+
16+
- Temporarely remove custom camera ux
17+
818
## 0.54.1 - 2022-04-07
919

1020
### Removed

android/app/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ android {
66
applicationId "io.numbersprotocol.capturelite"
77
minSdkVersion rootProject.ext.minSdkVersion
88
targetSdkVersion rootProject.ext.targetSdkVersion
9-
versionCode 371
10-
versionName "0.54.1"
9+
versionCode 372
10+
versionName "0.54.2"
1111
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1212
}
13+
buildFeatures {
14+
dataBinding true
15+
}
1316
buildTypes {
1417
release {
1518
minifyEnabled false

android/app/capacitor.build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ dependencies {
2525
implementation project(':capacitor-share')
2626
implementation project(':capacitor-splash-screen')
2727
implementation project(':capacitor-storage')
28+
implementation project(':numbersprotocol-preview-video')
2829
implementation project(':capacitor-blob-writer')
2930

3031
}

android/app/src/main/assets/capacitor.plugins.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
"pkg": "@capacitor/storage",
6464
"classpath": "com.capacitorjs.plugins.storage.StoragePlugin"
6565
},
66+
{
67+
"pkg": "@numbersprotocol/preview-video",
68+
"classpath": "io.numbersprotocol.capturelite.plugins.previewvideo.PreviewVideoPlugin"
69+
},
6670
{
6771
"pkg": "capacitor-blob-writer",
6872
"classpath": "com.equimaps.capacitorblobwriter.BlobWriter"

android/capacitor.settings.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,8 @@ project(':capacitor-splash-screen').projectDir = new File('../node_modules/@capa
5050
include ':capacitor-storage'
5151
project(':capacitor-storage').projectDir = new File('../node_modules/@capacitor/storage/android')
5252

53+
include ':numbersprotocol-preview-video'
54+
project(':numbersprotocol-preview-video').projectDir = new File('../node_modules/@numbersprotocol/preview-video/android')
55+
5356
include ':capacitor-blob-writer'
5457
project(':capacitor-blob-writer').projectDir = new File('../node_modules/capacitor-blob-writer/android')

ios/App/Podfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def capacitor_pods
2525
pod 'CapacitorShare', :path => '../../node_modules/@capacitor/share'
2626
pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen'
2727
pod 'CapacitorStorage', :path => '../../node_modules/@capacitor/storage'
28+
pod 'NumbersprotocolPreviewVideo', :path => '../../node_modules/@numbersprotocol/preview-video'
2829
pod 'CapacitorBlobWriter', :path => '../../node_modules/capacitor-blob-writer'
2930
end
3031

package-lock.json

Lines changed: 21 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "capture-lite",
3-
"version": "0.54.1",
3+
"version": "0.54.2",
44
"author": "numbersprotocol",
55
"homepage": "https://numbersprotocol.io/",
66
"scripts": {
@@ -29,7 +29,7 @@
2929
"@angular/platform-browser-dynamic": "^12.2.4",
3030
"@angular/router": "^12.2.4",
3131
"@capacitor-community/bluetooth-le": "^1.7.0",
32-
"@capacitor-community/http": "^1.4.1",
32+
"@capacitor-community/http": "github:numbersprotocol/http#fix-catch-disabled-Local-Network-case-on-iOS",
3333
"@capacitor-community/wifi": "github:numbersprotocol/community-capacitor-wifi#capacitor3",
3434
"@capacitor/android": "https://gitpkg.now.sh/numbersprotocol/capacitor/android?release-3.4.1-range-request-fix",
3535
"@capacitor/app": "^1.1.0",
@@ -57,6 +57,7 @@
5757
"@ngx-formly/core": "^5.10.22",
5858
"@ngx-formly/material": "^5.10.22",
5959
"@ngx-formly/schematics": "^5.10.22",
60+
"@numbersprotocol/preview-video": "github:numbersprotocol/preview-video",
6061
"async-mutex": "^0.3.2",
6162
"buffer": "^5.7.1",
6263
"capacitor-blob-writer": "^1.0.4",

src/app/features/home/capture-tab/capture-item/capture-item.component.html

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,26 @@
66
name="hourglass-outline"
77
class="collecting"
88
></ion-icon>
9-
<ion-icon
10-
*ngIf="hasUploaded$ | ngrxPush"
11-
src="/assets/images/media-id.svg"
12-
class="uploaded"
13-
>
14-
</ion-icon>
15-
<ion-icon
16-
*ngIf="hasGeolocation$ | ngrxPush"
17-
src="/assets/images/location.svg"
18-
class="located"
19-
></ion-icon>
9+
10+
<div class="bottom-left-icons">
11+
<ion-icon
12+
*ngIf="hasUploaded$ | ngrxPush"
13+
src="/assets/images/media-id.svg"
14+
class="uploaded"
15+
>
16+
</ion-icon>
17+
<ion-icon
18+
*ngIf="hasGeolocation$ | ngrxPush"
19+
src="/assets/images/location.svg"
20+
class="located"
21+
></ion-icon>
22+
<ion-icon
23+
*ngIf="hasCaption$ | ngrxPush"
24+
name="document-text-outline"
25+
class="with-caption"
26+
></ion-icon>
27+
</div>
28+
2029
<ion-icon
2130
*ngIf="isVideo$ | ngrxPush"
2231
name="videocam"

src/app/features/home/capture-tab/capture-item/capture-item.component.scss

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,30 @@ ion-icon.collecting {
3434
font-size: 24px;
3535
}
3636

37-
ion-icon.uploaded {
37+
.bottom-left-icons {
3838
bottom: 9px;
3939
left: 5px;
40-
font-size: 13px;
41-
}
40+
position: absolute;
41+
display: flex;
4242

43-
ion-icon.located {
44-
bottom: 8px;
45-
left: 23px;
46-
font-size: 16px;
43+
ion-icon.uploaded {
44+
position: relative;
45+
font-size: 13px;
46+
}
47+
48+
ion-icon.located {
49+
left: 4px;
50+
bottom: 2px;
51+
position: relative;
52+
font-size: 16px;
53+
}
54+
55+
ion-icon.with-caption {
56+
left: 6px;
57+
bottom: 1px;
58+
position: relative;
59+
font-size: 14px;
60+
}
4761
}
4862

4963
ion-icon.is-video {

0 commit comments

Comments
 (0)