Skip to content

Commit

Permalink
Merge branch 'develop' into 'master'
Browse files Browse the repository at this point in the history
Develop

See merge request papers/airgap/airgap-vault!513
  • Loading branch information
Stephen Debel committed Aug 21, 2024
2 parents 4df9c57 + 710bc7f commit e30447e
Show file tree
Hide file tree
Showing 13 changed files with 788 additions and 542 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.0'
classpath 'com.google.gms:google-services:4.3.15'
classpath 'com.android.tools.build:gradle:8.4.0'
classpath 'com.google.gms:google-services:4.4.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
Expand Down
4 changes: 2 additions & 2 deletions android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Thu Oct 21 16:14:56 CEST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
distributionSha256Sum=47a5bfed9ef814f90f8debcbbb315e8e7c654109acd224595ea39fca95c5d4da
distributionSha256Sum=85719317abd2112f021d4f41f09ec370534ba288432065f4b477b6a3b652910d
16 changes: 8 additions & 8 deletions android/variables.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
ext {
minSdkVersion = 22
compileSdkVersion = 33
targetSdkVersion = 33
androidxActivityVersion = '1.7.0'
compileSdkVersion = 34
targetSdkVersion = 34
androidxActivityVersion = '1.8.0'
androidxAppCompatVersion = '1.6.1'
androidxCoordinatorLayoutVersion = '1.2.0'
androidxCoreVersion = '1.10.0'
androidxFragmentVersion = '1.5.6'
androidxCoreVersion = '1.12.0'
androidxFragmentVersion = '1.6.2'
androidxExifinterfaceVersion = '1.3.6'
androidxMaterialVersion = '1.8.0'
androidxMaterialVersion = '1.10.0'
junitVersion = '4.13.2'
androidxTestCoreVersion = '1.4.0'
androidxJunitVersion = '1.1.5'
androidxEspressoCoreVersion = '3.5.1'
cordovaAndroidVersion = '10.1.1'
coreSplashScreenVersion = '1.0.0'
androidxWebkitVersion = '1.6.1'
coreSplashScreenVersion = '1.0.1'
androidxWebkitVersion = '1.9.0'
}
10 changes: 7 additions & 3 deletions ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -16,6 +16,7 @@
504EC30D1FED79650016851F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30B1FED79650016851F /* Main.storyboard */; };
504EC30F1FED79650016851F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30E1FED79650016851F /* Assets.xcassets */; };
504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC3101FED79650016851F /* LaunchScreen.storyboard */; };
77FC92452C4FABC500C7ACEC /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77FC92442C4FABC500C7ACEC /* ViewController.swift */; };
885F55E825EE224200D85A88 /* SaplingNative.m in Sources */ = {isa = PBXBuildFile; fileRef = 885F55E725EE224200D85A88 /* SaplingNative.m */; };
885F55EB25EE226300D85A88 /* SaplingNative.swift in Sources */ = {isa = PBXBuildFile; fileRef = 885F55EA25EE226300D85A88 /* SaplingNative.swift */; };
888556902721A9EC009A831D /* public in Resources */ = {isa = PBXBuildFile; fileRef = 8885568F2721A9EC009A831D /* public */; };
Expand Down Expand Up @@ -64,6 +65,7 @@
504EC30E1FED79650016851F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
504EC3111FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
504EC3131FED79650016851F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
77FC92442C4FABC500C7ACEC /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
885F55E725EE224200D85A88 /* SaplingNative.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SaplingNative.m; sourceTree = "<group>"; };
885F55EA25EE226300D85A88 /* SaplingNative.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SaplingNative.swift; sourceTree = "<group>"; };
8885568F2721A9EC009A831D /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; path = public; sourceTree = "<group>"; };
Expand Down Expand Up @@ -160,6 +162,7 @@
50379B222058CBB4000EE86E /* capacitor.config.json */,
88F9F14523D059AE008351D0 /* App-Bridging-Header.h */,
504EC3071FED79650016851F /* AppDelegate.swift */,
77FC92442C4FABC500C7ACEC /* ViewController.swift */,
504EC30B1FED79650016851F /* Main.storyboard */,
504EC30E1FED79650016851F /* Assets.xcassets */,
504EC3101FED79650016851F /* LaunchScreen.storyboard */,
Expand Down Expand Up @@ -431,6 +434,7 @@
88F9F15623D06A76008351D0 /* CameraPreview.m in Sources */,
A33BA9E528D9C4EF00BD8015 /* JS.swift in Sources */,
88AE2EF523D5DC5100428560 /* LocalAuthentication.swift in Sources */,
77FC92452C4FABC500C7ACEC /* ViewController.swift in Sources */,
A357ED09299BD8EA00EDCA39 /* Filesystem.swift in Sources */,
A3CE61BE2993DF43009216A2 /* ModuleManifest.swift in Sources */,
504EC3081FED79650016851F /* AppDelegate.swift in Sources */,
Expand Down Expand Up @@ -666,8 +670,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/airgap-it/airgap-sapling";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.0.7;
kind = exactVersion;
version = 0.0.7;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"originHash" : "8e819e643cdacdc24d27b69ae8e04d21a3375a2555f509b153b507a3ebecf517",
"pins" : [
{
"identity" : "airgap-sapling",
Expand All @@ -10,5 +11,5 @@
}
}
],
"version" : 2
"version" : 3
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"originHash" : "8e819e643cdacdc24d27b69ae8e04d21a3375a2555f509b153b507a3ebecf517",
"pins" : [
{
"identity" : "airgap-sapling",
"kind" : "remoteSourceControl",
"location" : "https://github.com/airgap-it/airgap-sapling",
"state" : {
"revision" : "00848f05c305c9997c8f7325527ddc20de7edd2b",
"version" : "0.0.7"
}
}
],
"version" : 3
}
13 changes: 6 additions & 7 deletions ios/App/App/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14111" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22685"/>
</dependencies>
<scenes>
<!--Bridge View Controller-->
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="CAPBridgeViewController" customModule="Capacitor" sceneMemberID="viewController"/>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="App" customModuleProvider="target" sceneMemberID="viewController"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-42" y="-69"/>
</scene>
</scenes>
</document>
40 changes: 40 additions & 0 deletions ios/App/App/ViewController.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
//
// ViewController.swift
// App
//
// Created by Isacco on 23.07.2024.
//

import UIKit
import Capacitor

class ViewController: CAPBridgeViewController {

override func viewDidLoad() {
super.viewDidLoad()

// Do any additional setup after loading the view.
}

override open func capacitorDidLoad() {
bridge?.registerPluginInstance(AppInfo())
bridge?.registerPluginInstance(CameraPreview())
bridge?.registerPluginInstance(Environment())
bridge?.registerPluginInstance(Zip())
bridge?.registerPluginInstance(IsolatedModules())
bridge?.registerPluginInstance(SaplingNative())
bridge?.registerPluginInstance(SecurityUtils())
}


/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/

}
12 changes: 11 additions & 1 deletion ios/App/App/capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,15 @@
},
"server": {
"androidScheme": "http"
}
},
"packageClassList": [
"AppPlugin",
"AppLauncherPlugin",
"ClipboardPlugin",
"FilesystemPlugin",
"SplashScreenPlugin",
"StatusBarPlugin",
"FilePickerPlugin",
"CDVPlugin"
]
}
36 changes: 18 additions & 18 deletions ios/App/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
PODS:
- Capacitor (5.7.7):
- Capacitor (6.1.1):
- CapacitorCordova
- CapacitorApp (5.0.8):
- CapacitorApp (6.0.0):
- Capacitor
- CapacitorAppLauncher (5.0.8):
- CapacitorAppLauncher (6.0.1):
- Capacitor
- CapacitorClipboard (5.0.8):
- CapacitorClipboard (6.0.0):
- Capacitor
- CapacitorCordova (5.7.7)
- CapacitorFilesystem (5.2.2):
- CapacitorCordova (6.1.1)
- CapacitorFilesystem (6.0.0):
- Capacitor
- CapacitorSplashScreen (5.0.8):
- CapacitorSplashScreen (6.0.1):
- Capacitor
- CapacitorStatusBar (5.0.8):
- CapacitorStatusBar (6.0.0):
- Capacitor
- CapawesomeCapacitorFilePicker (0.5.10):
- Capacitor
- CordovaPlugins (5.7.7):
- CordovaPlugins (6.1.1):
- CapacitorCordova
- ZIPFoundation (0.9.16)

Expand Down Expand Up @@ -60,16 +60,16 @@ EXTERNAL SOURCES:
:path: "../capacitor-cordova-ios-plugins"

SPEC CHECKSUMS:
Capacitor: 0039e9b67cfde2d5e9111b3ddca8c0097f4cf2f4
CapacitorApp: 102e553c3b1fdc255969c39aa19b529675690ef4
CapacitorAppLauncher: 1483f5241bd56d2720af833d830c1a724ca04e96
CapacitorClipboard: 03628c89fe70d06d36288ee4eff7e205a6e81e53
CapacitorCordova: d906edead798c9bb1b07274f15615878d27507d5
CapacitorFilesystem: 202b158a878462ab4f401d0eb4d9644c67927333
CapacitorSplashScreen: 7a69e693bc1ef83e4bd3fb073bd8c8fa33e9059e
CapacitorStatusBar: 51af549cfcf35aac3ab072b062967ae5971ee485
Capacitor: 8941aba4364ba9d1b22188569001f2ce45cc2b00
CapacitorApp: 9d53aec7101f7b030a950c5bdc4df8612576b279
CapacitorAppLauncher: ca97e232064f293cc23a0083f237af74a2976add
CapacitorClipboard: 80282f684154124b9019ebf401235b70b0cf4994
CapacitorCordova: 8f2cc8d8d3619c566e9418fe8772064a94266106
CapacitorFilesystem: 60e59ba274c234a979e7a3be2552feaadcee4263
CapacitorSplashScreen: 61645214e8f955ff2b80f16a6a3648960fe4c89f
CapacitorStatusBar: 2e4369f99166125435641b1908d05f561eaba6f6
CapawesomeCapacitorFilePicker: 3c6c193300649c9c7ce49426e17582edbf7ed601
CordovaPlugins: 91d13f392c0503ab8079672f2d5af33e4a269dce
CordovaPlugins: 4df6135298e8f8eaba9b41aa6c093f6692f2ce8b
ZIPFoundation: d170fa8e270b2a32bef9dcdcabff5b8f1a5deced

PODFILE CHECKSUM: 51db8af4d6f01d50e8e2a9025e652f730fdb53af
Expand Down
Loading

0 comments on commit e30447e

Please sign in to comment.