Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ff2510720 | ||
|
|
30f3ed5b3d | ||
|
|
3da2118e15 | ||
|
|
e046feb124 | ||
|
|
1e6c4e1932 | ||
|
|
2ade8fc7ee | ||
|
|
ee0df8633e | ||
|
|
ada7a02c21 | ||
|
|
3f3cbe98a4 | ||
|
|
a74da63c32 | ||
|
|
6d006c0ea9 | ||
|
|
f6f5dfbe03 | ||
|
|
d608b88e26 | ||
|
|
854e372f73 | ||
|
|
2e0fa29806 | ||
|
|
0e36190516 | ||
|
|
74da82c61a | ||
|
|
b70dd2fe67 | ||
|
|
b44e4c6d59 | ||
|
|
a0697d9242 | ||
|
|
9723479634 | ||
|
|
dabe8285be | ||
|
|
f981021a1f | ||
|
|
b5781a7a83 | ||
|
|
e8556a9abf | ||
|
|
f640eb8c8f | ||
|
|
8546727f84 | ||
|
|
de6a736c10 | ||
|
|
61600a534b | ||
|
|
181e5c2266 | ||
|
|
9473d3f40c | ||
|
|
e98ce54830 | ||
|
|
4097aba39b | ||
|
|
64dde1c9d1 | ||
|
|
0fe6fea7e4 | ||
|
|
4810e1d7bf | ||
|
|
9e4d9a05a7 | ||
|
|
ee62ffdc2c | ||
|
|
d8c110bf85 | ||
|
|
ff3249c514 | ||
|
|
5380f83cab | ||
|
|
7332f483a4 | ||
|
|
f67f205fa9 | ||
|
|
bd54b05fd0 | ||
|
|
73c32eacb3 | ||
|
|
a073812a9f | ||
|
|
8cd5e3f6e3 | ||
|
|
8d7224d972 | ||
|
|
81212573d7 | ||
|
|
de8c294c9a | ||
|
|
8478ac74ab | ||
|
|
e9310a2ace | ||
|
|
0345871b66 | ||
|
|
7a299b9b86 | ||
|
|
5fe3029ad8 | ||
|
|
c6e63ff5a5 | ||
|
|
998b40ec4f | ||
|
|
2861190e5b | ||
|
|
404ae82cfe | ||
|
|
9ffefe74bb | ||
|
|
9959d537f3 | ||
|
|
7a9018ae11 | ||
|
|
8454ce2e11 | ||
|
|
f314806b83 | ||
|
|
16ffc23509 | ||
|
|
80a75c5232 | ||
|
|
20a0cc01f6 | ||
|
|
ff3ba6c0f0 | ||
|
|
3483bb1107 | ||
|
|
1f1ab30a4e | ||
|
|
064204256e | ||
|
|
8923408972 | ||
|
|
52b87bab3e | ||
|
|
25d44b11f1 | ||
|
|
9333692830 | ||
|
|
4fe8b81bf6 | ||
|
|
4dfd3af7f5 | ||
|
|
11b6702939 | ||
|
|
39c39915a7 | ||
|
|
01c058fecc | ||
|
|
8f75874868 | ||
|
|
041622d98b | ||
|
|
4190dfd26b | ||
|
|
f731f75fca | ||
|
|
78682b823b | ||
|
|
7d9709ee67 | ||
|
|
aec1b5fafa | ||
|
|
5c67216b31 | ||
|
|
0c9a195ca9 | ||
|
|
06192e7a24 | ||
|
|
4a6e42c6f9 | ||
|
|
2ce4a820d7 | ||
|
|
b72f0d4702 | ||
|
|
b75e1304d8 | ||
|
|
c2782a26f7 | ||
|
|
fa03e91080 | ||
|
|
f9dda56310 | ||
|
|
51276237f2 | ||
|
|
c667d05929 | ||
|
|
e1bcc8fec4 | ||
|
|
f84c2ec9f5 | ||
|
|
80f063d0dd | ||
|
|
69c3a72357 | ||
|
|
c28b34ac08 | ||
|
|
b192e9efd4 | ||
|
|
6c7054b5b4 | ||
|
|
1806cb792a | ||
|
|
432f7bcd8c | ||
|
|
26d618e305 | ||
|
|
fac2f952d0 | ||
|
|
e830f633d8 | ||
|
|
6a58f9552d | ||
|
|
00db44ab0d | ||
|
|
6ffed4ad47 | ||
|
|
e2169cbbd4 | ||
|
|
c8fd7121d3 | ||
|
|
0c96661583 | ||
|
|
d6c09d289c | ||
|
|
d5cc24fecf | ||
|
|
20e16e2f42 | ||
|
|
3fc4c36ac6 | ||
|
|
1b33aa4988 | ||
|
|
888bf12856 | ||
|
|
c4aef97a6d | ||
|
|
46896ff7f4 | ||
|
|
8ed64f810f | ||
|
|
3fbb7cb0a7 | ||
|
|
58013db24c | ||
|
|
172bf66436 | ||
|
|
bc5f0ccda6 | ||
|
|
bea93f4a7a | ||
|
|
fb155ea4bd | ||
|
|
900688dc15 | ||
|
|
0f8ad69319 | ||
|
|
ad9b712bff | ||
|
|
f2277371f0 |
@@ -100,9 +100,8 @@ Statusgo.xcframework
|
|||||||
|
|
||||||
#ios
|
#ios
|
||||||
/ios/Pods/
|
/ios/Pods/
|
||||||
|
/ios/logs/
|
||||||
/ios/StatusIm.xcworkspace
|
/ios/StatusIm.xcworkspace
|
||||||
/ios/react-native-xcode.log
|
|
||||||
/ios/set_xcode_version.log
|
|
||||||
.ruby-version
|
.ruby-version
|
||||||
status-e2e/
|
status-e2e/
|
||||||
|
|
||||||
@@ -183,4 +182,4 @@ test/appium/tests/users.py
|
|||||||
/.calva/
|
/.calva/
|
||||||
|
|
||||||
## component-tests
|
## component-tests
|
||||||
*.log
|
*.log
|
||||||
|
|||||||
@@ -16,7 +16,11 @@
|
|||||||
|
|
||||||
;; respect blank line
|
;; respect blank line
|
||||||
;; https://github.com/kkinnear/zprint/blob/main/doc/reference.md#respect-bl
|
;; https://github.com/kkinnear/zprint/blob/main/doc/reference.md#respect-bl
|
||||||
:respect-bl]
|
:respect-bl
|
||||||
|
|
||||||
|
;; hang multiline left-hand-thing
|
||||||
|
;; https://github.com/kkinnear/zprint/issues/273
|
||||||
|
:multi-lhs-hang]
|
||||||
:fn-map
|
:fn-map
|
||||||
{"reg-sub" :arg1-pair
|
{"reg-sub" :arg1-pair
|
||||||
"h/describe" :arg1-body
|
"h/describe" :arg1-body
|
||||||
@@ -26,6 +30,7 @@
|
|||||||
"list-comp" :binding
|
"list-comp" :binding
|
||||||
"defview" :arg1-body
|
"defview" :arg1-body
|
||||||
"letsubs" :binding
|
"letsubs" :binding
|
||||||
|
"with-let" "let"
|
||||||
"testing" :arg1-body
|
"testing" :arg1-body
|
||||||
"deftest-sub" :arg1-body
|
"deftest-sub" :arg1-body
|
||||||
"wait-for" :arg1-body
|
"wait-for" :arg1-body
|
||||||
|
|||||||
@@ -349,8 +349,8 @@ component-test-watch: ##@ Watch tests and re-run no changes to cljs files
|
|||||||
component-test: export TARGET := clojure
|
component-test: export TARGET := clojure
|
||||||
component-test: export COMPONENT_TEST := true
|
component-test: export COMPONENT_TEST := true
|
||||||
component-test: export BABEL_ENV := test
|
component-test: export BABEL_ENV := test
|
||||||
component-test: ##@test Run tests once in NodeJS
|
component-test: ##@test Run component tests once in NodeJS
|
||||||
# Here we create the gyp bindings for nodejs
|
yarn install
|
||||||
yarn shadow-cljs compile component-test && \
|
yarn shadow-cljs compile component-test && \
|
||||||
jest --config=test/jest/jest.config.js
|
jest --config=test/jest/jest.config.js
|
||||||
|
|
||||||
|
|||||||
@@ -310,6 +310,7 @@ dependencies {
|
|||||||
implementation "com.facebook.react:react-native:+" // From node_modules
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
||||||
|
|
||||||
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
|
||||||
|
implementation "androidx.core:core-splashscreen:1.0.0"
|
||||||
|
|
||||||
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
|
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
|
||||||
exclude group:'com.facebook.fbjni'
|
exclude group:'com.facebook.fbjni'
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:theme="@style/AppTheme"
|
android:theme="@style/Theme.AppSplash"
|
||||||
android:name=".MainApplication"
|
android:name=".MainApplication"
|
||||||
android:largeHeap="true"
|
android:largeHeap="true"
|
||||||
android:usesCleartextTraffic="true">
|
android:usesCleartextTraffic="true">
|
||||||
@@ -38,6 +38,7 @@
|
|||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
|
android:theme="@style/Theme.AppSplash"
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
android:windowSoftInputMode="adjustResize"
|
android:windowSoftInputMode="adjustResize"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import android.content.SharedPreferences;
|
|||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.provider.Settings;
|
import android.provider.Settings;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
import android.os.Handler;
|
||||||
import com.facebook.react.ReactActivityDelegate;
|
import com.facebook.react.ReactActivityDelegate;
|
||||||
import com.facebook.react.ReactRootView;
|
import com.facebook.react.ReactRootView;
|
||||||
import com.facebook.react.modules.core.DeviceEventManagerModule;
|
import com.facebook.react.modules.core.DeviceEventManagerModule;
|
||||||
@@ -31,7 +32,7 @@ import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
|
|||||||
import com.facebook.react.ReactFragmentActivity;
|
import com.facebook.react.ReactFragmentActivity;
|
||||||
import com.reactnativenavigation.NavigationActivity;
|
import com.reactnativenavigation.NavigationActivity;
|
||||||
import com.facebook.react.modules.core.PermissionListener;
|
import com.facebook.react.modules.core.PermissionListener;
|
||||||
import org.devio.rn.splashscreen.SplashScreen;
|
import androidx.core.splashscreen.SplashScreen;
|
||||||
|
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
import im.status.ethereum.module.StatusThreadPoolExecutor;
|
import im.status.ethereum.module.StatusThreadPoolExecutor;
|
||||||
@@ -42,6 +43,8 @@ public class MainActivity extends NavigationActivity
|
|||||||
|
|
||||||
|
|
||||||
@Nullable private PermissionListener mPermissionListener;
|
@Nullable private PermissionListener mPermissionListener;
|
||||||
|
private boolean keepSplash = true;
|
||||||
|
private final int SPLASH_DELAY = 3200;
|
||||||
|
|
||||||
private static void registerUncaughtExceptionHandler(final Context context) {
|
private static void registerUncaughtExceptionHandler(final Context context) {
|
||||||
final Thread.UncaughtExceptionHandler defaultUncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
|
final Thread.UncaughtExceptionHandler defaultUncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
|
||||||
@@ -121,21 +124,8 @@ public class MainActivity extends NavigationActivity
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
SplashScreen splashScreen = SplashScreen.installSplashScreen(this);
|
||||||
switch (getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK) {
|
setTheme(R.style.DarkTheme);
|
||||||
case Configuration.UI_MODE_NIGHT_YES:
|
|
||||||
setTheme(R.style.DarkTheme);
|
|
||||||
SplashScreen.show(this, R.style.DarkTheme, R.id.lottie);
|
|
||||||
break;
|
|
||||||
case Configuration.UI_MODE_NIGHT_NO:
|
|
||||||
setTheme(R.style.LightTheme);
|
|
||||||
SplashScreen.show(this, R.style.LightTheme, R.id.lottie);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
setTheme(R.style.LightTheme);
|
|
||||||
SplashScreen.show(this, R.style.LightTheme, R.id.lottie);
|
|
||||||
}
|
|
||||||
SplashScreen.setAnimationFinished(true);
|
|
||||||
// Make sure we get an Alert for every uncaught exceptions
|
// Make sure we get an Alert for every uncaught exceptions
|
||||||
registerUncaughtExceptionHandler(MainActivity.this);
|
registerUncaughtExceptionHandler(MainActivity.this);
|
||||||
|
|
||||||
@@ -197,6 +187,11 @@ public class MainActivity extends NavigationActivity
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
splashScreen.setKeepOnScreenCondition(() -> keepSplash);
|
||||||
|
|
||||||
|
Handler handler = new Handler();
|
||||||
|
handler.postDelayed(() -> keepSplash = false, SPLASH_DELAY);
|
||||||
|
|
||||||
StatusThreadPoolExecutor.getInstance().execute(r);
|
StatusThreadPoolExecutor.getInstance().execute(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
@@ -2,4 +2,6 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<color name="alert_background">#ffffff</color>
|
<color name="alert_background">#ffffff</color>
|
||||||
<color name="alert_text">#000000</color>
|
<color name="alert_text">#000000</color>
|
||||||
|
<color name="splash_background">#09101C</color>
|
||||||
|
<color name="splash_status_bar_color">#ffffff</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
<style name="Theme.AppSplash" parent="Theme.SplashScreen">
|
||||||
|
<item name="windowSplashScreenBackground">@color/splash_background</item>
|
||||||
|
<item name="windowSplashScreenAnimatedIcon">@drawable/splash_logo</item>
|
||||||
|
<item name="windowSplashScreenAnimationDuration">1000</item>
|
||||||
|
|
||||||
|
<!-- Status bar and Nav bar configs -->
|
||||||
|
<item name="android:statusBarColor" tools:targetApi="l">@color/splash_background</item>
|
||||||
|
<item name="android:windowLightStatusBar">false</item>
|
||||||
|
|
||||||
|
<item name="postSplashScreenTheme">@style/DarkTheme</item>
|
||||||
|
</style>
|
||||||
|
</resources>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.6.6'
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
/* Options section can't access functions in objects. */
|
/* Options section can't access functions in objects. */
|
||||||
def isPRBuild = utils.isPRBuild()
|
def isPRBuild = utils.isPRBuild()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.6.6'
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'linux' }
|
agent { label 'linux' }
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.6.6'
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
/* Options section can't access functions in objects. */
|
/* Options section can't access functions in objects. */
|
||||||
def isPRBuild = utils.isPRBuild()
|
def isPRBuild = utils.isPRBuild()
|
||||||
@@ -63,6 +63,9 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script { api = ios.bundle() }
|
script { api = ios.bundle() }
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
failure { archiveArtifacts 'ios/logs/*' }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
stage('Parallel Upload') {
|
stage('Parallel Upload') {
|
||||||
parallel {
|
parallel {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.6.6'
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label params.AGENT_LABEL }
|
agent { label params.AGENT_LABEL }
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.6.6'
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
/* Options section can't access functions in objects. */
|
/* Options section can't access functions in objects. */
|
||||||
def isPRBuild = utils.isPRBuild()
|
def isPRBuild = utils.isPRBuild()
|
||||||
@@ -68,6 +68,14 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Component Tests') {
|
||||||
|
steps {
|
||||||
|
sh """#!/bin/bash
|
||||||
|
set -eo pipefail
|
||||||
|
make component-test 2>&1 | tee -a ${LOG_FILE}
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Upload') {
|
stage('Upload') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.6.6'
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.6.6'
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.6.6'
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.6.6'
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'macos' }
|
agent { label 'macos' }
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.6.6'
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'linux' }
|
agent { label 'linux' }
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
library 'status-jenkins-lib@v1.6.9'
|
||||||
|
|
||||||
|
pipeline {
|
||||||
|
agent {
|
||||||
|
label 'linux'
|
||||||
|
}
|
||||||
|
|
||||||
|
triggers {
|
||||||
|
cron('H 5 * * *')
|
||||||
|
}
|
||||||
|
|
||||||
|
options {
|
||||||
|
timestamps()
|
||||||
|
/* Prevent Jenkins jobs from running forever */
|
||||||
|
timeout(time: 15, unit: 'MINUTES')
|
||||||
|
/* Disable concurrent jobs */
|
||||||
|
disableConcurrentBuilds()
|
||||||
|
/* Don't keep more than 50 builds */
|
||||||
|
buildDiscarder(logRotator(numToKeepStr: '10'))
|
||||||
|
}
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Get Nodes') {
|
||||||
|
steps { script {
|
||||||
|
stagePerNode = nodesByLabel('macos').collectEntries {
|
||||||
|
["${it}" : generateNodeCleanupStage(it)]
|
||||||
|
}
|
||||||
|
} }
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Clean Xcode') {
|
||||||
|
steps { script {
|
||||||
|
parallel stagePerNode
|
||||||
|
} }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
def generateNodeCleanupStage(nodeLabel) {
|
||||||
|
return { stage(nodeLabel) {
|
||||||
|
node(nodeLabel) {
|
||||||
|
dir('/Users/jenkins/Library/Developer/Xcode') {
|
||||||
|
sh 'rm -fr Archives DerivedData'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} }
|
||||||
|
}
|
||||||
@@ -116,6 +116,20 @@ deref'ed atoms.
|
|||||||
{:background-color (colors/theme-colors colors/white colors/neutral-90)})
|
{:background-color (colors/theme-colors colors/white colors/neutral-90)})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Custom Colors
|
||||||
|
|
||||||
|
The Status designs have a lot of customization of user and group colors with components and pages. For consistency it is best to use `customization-color` as the prop key on pages and components. This will help easily identify what pages and components in the application are using customized colors.
|
||||||
|
|
||||||
|
```clojure
|
||||||
|
;; bad
|
||||||
|
(defn community-card [{keys [custom-color]}]
|
||||||
|
...)
|
||||||
|
|
||||||
|
;; good
|
||||||
|
(defn community-card [{keys [customization-color]}]
|
||||||
|
...)
|
||||||
|
```
|
||||||
|
|
||||||
### Using TODOs comments
|
### Using TODOs comments
|
||||||
|
|
||||||
_TODO_ comments are used extensively in the codebase, but prefer to use them
|
_TODO_ comments are used extensively in the codebase, but prefer to use them
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ Also test watcher can be launched. It will re-run the entire test suite when any
|
|||||||
|
|
||||||
Developers can also manually change the shadow-cljs option `:ns-regex` to control which namespaces the test runner should pick.
|
Developers can also manually change the shadow-cljs option `:ns-regex` to control which namespaces the test runner should pick.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Testing with REPL
|
## Testing with REPL
|
||||||
|
|
||||||
The most convenient way to develop and run test locally is using REPL:
|
The most convenient way to develop and run test locally is using REPL:
|
||||||
@@ -52,3 +50,19 @@ In the video below, you can see two buffers side-by-side. On the left the source
|
|||||||
Here I'm showing a terminal-only experience using Tmux (left pane Emacs, right pane the output coming from running the make target).
|
Here I'm showing a terminal-only experience using Tmux (left pane Emacs, right pane the output coming from running the make target).
|
||||||
|
|
||||||
[2022-12-19 13-17.webm](https://user-images.githubusercontent.com/46027/208471199-1909c446-c82d-42a0-9350-0c15ca562713.webm)
|
[2022-12-19 13-17.webm](https://user-images.githubusercontent.com/46027/208471199-1909c446-c82d-42a0-9350-0c15ca562713.webm)
|
||||||
|
|
||||||
|
## Component tests
|
||||||
|
|
||||||
|
To run tests:
|
||||||
|
|
||||||
|
```
|
||||||
|
make component-test
|
||||||
|
```
|
||||||
|
|
||||||
|
Also test watcher can be launched. It will re-run the entire test suite when any file is modified
|
||||||
|
|
||||||
|
```
|
||||||
|
make component-test-watch
|
||||||
|
```
|
||||||
|
|
||||||
|
Check [component tests doc](./component-tests-overview.md) for more.
|
||||||
|
|||||||
@@ -123,6 +123,7 @@ def build_ios_adhoc(readonly: false, pr_build: false)
|
|||||||
export_method: 'ad-hoc',
|
export_method: 'ad-hoc',
|
||||||
output_name: 'StatusIm',
|
output_name: 'StatusIm',
|
||||||
output_directory: 'status-ios',
|
output_directory: 'status-ios',
|
||||||
|
buildlog_path: 'ios/logs',
|
||||||
export_options: {
|
export_options: {
|
||||||
signingStyle: 'manual',
|
signingStyle: 'manual',
|
||||||
provisioningProfiles: {
|
provisioningProfiles: {
|
||||||
@@ -162,6 +163,7 @@ def build_ios_e2e
|
|||||||
# 3. directory where to up StatusIm.app
|
# 3. directory where to up StatusIm.app
|
||||||
derived_data_path: 'status-ios',
|
derived_data_path: 'status-ios',
|
||||||
output_name: 'StatusIm.app',
|
output_name: 'StatusIm.app',
|
||||||
|
buildlog_path: 'ios/logs',
|
||||||
# -------------------------------------
|
# -------------------------------------
|
||||||
# Normal stuff
|
# Normal stuff
|
||||||
scheme: 'StatusIm',
|
scheme: 'StatusIm',
|
||||||
@@ -239,6 +241,7 @@ platform :ios do
|
|||||||
clean: true,
|
clean: true,
|
||||||
export_method: 'app-store',
|
export_method: 'app-store',
|
||||||
output_directory: 'status-ios',
|
output_directory: 'status-ios',
|
||||||
|
buildlog_path: 'ios/logs',
|
||||||
include_symbols: false,
|
include_symbols: false,
|
||||||
export_options: {
|
export_options: {
|
||||||
"combileBitcode": true,
|
"combileBitcode": true,
|
||||||
|
|||||||
@@ -1,24 +1,24 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
CFPropertyList (3.0.5)
|
CFPropertyList (3.0.6)
|
||||||
rexml
|
rexml
|
||||||
addressable (2.8.1)
|
addressable (2.8.1)
|
||||||
public_suffix (>= 2.0.2, < 6.0)
|
public_suffix (>= 2.0.2, < 6.0)
|
||||||
artifactory (3.0.15)
|
artifactory (3.0.15)
|
||||||
atomos (0.1.3)
|
atomos (0.1.3)
|
||||||
aws-eventstream (1.2.0)
|
aws-eventstream (1.2.0)
|
||||||
aws-partitions (1.644.0)
|
aws-partitions (1.728.0)
|
||||||
aws-sdk-core (3.159.0)
|
aws-sdk-core (3.170.0)
|
||||||
aws-eventstream (~> 1, >= 1.0.2)
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
aws-partitions (~> 1, >= 1.525.0)
|
aws-partitions (~> 1, >= 1.651.0)
|
||||||
aws-sigv4 (~> 1.1)
|
aws-sigv4 (~> 1.5)
|
||||||
jmespath (~> 1, >= 1.6.1)
|
jmespath (~> 1, >= 1.6.1)
|
||||||
aws-sdk-kms (1.58.0)
|
aws-sdk-kms (1.63.0)
|
||||||
aws-sdk-core (~> 3, >= 3.127.0)
|
aws-sdk-core (~> 3, >= 3.165.0)
|
||||||
aws-sigv4 (~> 1.1)
|
aws-sigv4 (~> 1.1)
|
||||||
aws-sdk-s3 (1.114.0)
|
aws-sdk-s3 (1.119.1)
|
||||||
aws-sdk-core (~> 3, >= 3.127.0)
|
aws-sdk-core (~> 3, >= 3.165.0)
|
||||||
aws-sdk-kms (~> 1)
|
aws-sdk-kms (~> 1)
|
||||||
aws-sigv4 (~> 1.4)
|
aws-sigv4 (~> 1.4)
|
||||||
aws-sigv4 (1.5.2)
|
aws-sigv4 (1.5.2)
|
||||||
@@ -36,8 +36,8 @@ GEM
|
|||||||
unf (>= 0.0.5, < 1.0.0)
|
unf (>= 0.0.5, < 1.0.0)
|
||||||
dotenv (2.8.1)
|
dotenv (2.8.1)
|
||||||
emoji_regex (3.2.3)
|
emoji_regex (3.2.3)
|
||||||
excon (0.93.0)
|
excon (0.99.0)
|
||||||
faraday (1.10.2)
|
faraday (1.10.3)
|
||||||
faraday-em_http (~> 1.0)
|
faraday-em_http (~> 1.0)
|
||||||
faraday-em_synchrony (~> 1.0)
|
faraday-em_synchrony (~> 1.0)
|
||||||
faraday-excon (~> 1.1)
|
faraday-excon (~> 1.1)
|
||||||
@@ -66,7 +66,7 @@ GEM
|
|||||||
faraday_middleware (1.2.0)
|
faraday_middleware (1.2.0)
|
||||||
faraday (~> 1.0)
|
faraday (~> 1.0)
|
||||||
fastimage (2.2.6)
|
fastimage (2.2.6)
|
||||||
fastlane (2.210.1)
|
fastlane (2.212.1)
|
||||||
CFPropertyList (>= 2.3, < 4.0.0)
|
CFPropertyList (>= 2.3, < 4.0.0)
|
||||||
addressable (>= 2.8, < 3.0.0)
|
addressable (>= 2.8, < 3.0.0)
|
||||||
artifactory (~> 3.0)
|
artifactory (~> 3.0)
|
||||||
@@ -109,9 +109,9 @@ GEM
|
|||||||
fastlane-plugin-diawi (2.1.0)
|
fastlane-plugin-diawi (2.1.0)
|
||||||
rest-client (>= 2.0.0)
|
rest-client (>= 2.0.0)
|
||||||
gh_inspector (1.1.3)
|
gh_inspector (1.1.3)
|
||||||
google-apis-androidpublisher_v3 (0.29.0)
|
google-apis-androidpublisher_v3 (0.36.0)
|
||||||
google-apis-core (>= 0.9.0, < 2.a)
|
google-apis-core (>= 0.11.0, < 2.a)
|
||||||
google-apis-core (0.9.0)
|
google-apis-core (0.11.0)
|
||||||
addressable (~> 2.5, >= 2.5.1)
|
addressable (~> 2.5, >= 2.5.1)
|
||||||
googleauth (>= 0.16.2, < 2.a)
|
googleauth (>= 0.16.2, < 2.a)
|
||||||
httpclient (>= 2.8.1, < 3.a)
|
httpclient (>= 2.8.1, < 3.a)
|
||||||
@@ -120,10 +120,10 @@ GEM
|
|||||||
retriable (>= 2.0, < 4.a)
|
retriable (>= 2.0, < 4.a)
|
||||||
rexml
|
rexml
|
||||||
webrick
|
webrick
|
||||||
google-apis-iamcredentials_v1 (0.15.0)
|
google-apis-iamcredentials_v1 (0.17.0)
|
||||||
google-apis-core (>= 0.9.0, < 2.a)
|
google-apis-core (>= 0.11.0, < 2.a)
|
||||||
google-apis-playcustomapp_v1 (0.11.0)
|
google-apis-playcustomapp_v1 (0.13.0)
|
||||||
google-apis-core (>= 0.9.0, < 2.a)
|
google-apis-core (>= 0.11.0, < 2.a)
|
||||||
google-apis-storage_v1 (0.19.0)
|
google-apis-storage_v1 (0.19.0)
|
||||||
google-apis-core (>= 0.9.0, < 2.a)
|
google-apis-core (>= 0.9.0, < 2.a)
|
||||||
google-cloud-core (1.6.0)
|
google-cloud-core (1.6.0)
|
||||||
@@ -131,8 +131,8 @@ GEM
|
|||||||
google-cloud-errors (~> 1.0)
|
google-cloud-errors (~> 1.0)
|
||||||
google-cloud-env (1.6.0)
|
google-cloud-env (1.6.0)
|
||||||
faraday (>= 0.17.3, < 3.0)
|
faraday (>= 0.17.3, < 3.0)
|
||||||
google-cloud-errors (1.3.0)
|
google-cloud-errors (1.3.1)
|
||||||
google-cloud-storage (1.43.0)
|
google-cloud-storage (1.44.0)
|
||||||
addressable (~> 2.8)
|
addressable (~> 2.8)
|
||||||
digest-crc (~> 0.4)
|
digest-crc (~> 0.4)
|
||||||
google-apis-iamcredentials_v1 (~> 0.1)
|
google-apis-iamcredentials_v1 (~> 0.1)
|
||||||
@@ -140,7 +140,7 @@ GEM
|
|||||||
google-cloud-core (~> 1.6)
|
google-cloud-core (~> 1.6)
|
||||||
googleauth (>= 0.16.2, < 2.a)
|
googleauth (>= 0.16.2, < 2.a)
|
||||||
mini_mime (~> 1.0)
|
mini_mime (~> 1.0)
|
||||||
googleauth (1.2.0)
|
googleauth (1.3.0)
|
||||||
faraday (>= 0.17.3, < 3.a)
|
faraday (>= 0.17.3, < 3.a)
|
||||||
jwt (>= 1.4, < 3.0)
|
jwt (>= 1.4, < 3.0)
|
||||||
memoist (~> 0.16)
|
memoist (~> 0.16)
|
||||||
@@ -152,14 +152,14 @@ GEM
|
|||||||
http-cookie (1.0.5)
|
http-cookie (1.0.5)
|
||||||
domain_name (~> 0.5)
|
domain_name (~> 0.5)
|
||||||
httpclient (2.8.3)
|
httpclient (2.8.3)
|
||||||
jmespath (1.6.1)
|
jmespath (1.6.2)
|
||||||
json (2.6.2)
|
json (2.6.3)
|
||||||
jwt (2.5.0)
|
jwt (2.7.0)
|
||||||
memoist (0.16.2)
|
memoist (0.16.2)
|
||||||
mime-types (3.4.1)
|
mime-types (3.4.1)
|
||||||
mime-types-data (~> 3.2015)
|
mime-types-data (~> 3.2015)
|
||||||
mime-types-data (3.2022.0105)
|
mime-types-data (3.2023.0218.1)
|
||||||
mini_magick (4.11.0)
|
mini_magick (4.12.0)
|
||||||
mini_mime (1.1.2)
|
mini_mime (1.1.2)
|
||||||
multi_json (1.15.0)
|
multi_json (1.15.0)
|
||||||
multipart-post (2.0.0)
|
multipart-post (2.0.0)
|
||||||
@@ -168,8 +168,8 @@ GEM
|
|||||||
netrc (0.11.0)
|
netrc (0.11.0)
|
||||||
optparse (0.1.1)
|
optparse (0.1.1)
|
||||||
os (1.1.4)
|
os (1.1.4)
|
||||||
plist (3.6.0)
|
plist (3.7.0)
|
||||||
public_suffix (5.0.0)
|
public_suffix (5.0.1)
|
||||||
rake (13.0.6)
|
rake (13.0.6)
|
||||||
representable (3.2.0)
|
representable (3.2.0)
|
||||||
declarative (< 0.1.0)
|
declarative (< 0.1.0)
|
||||||
@@ -191,7 +191,7 @@ GEM
|
|||||||
faraday (>= 0.17.5, < 3.a)
|
faraday (>= 0.17.5, < 3.a)
|
||||||
jwt (>= 1.5, < 3.0)
|
jwt (>= 1.5, < 3.0)
|
||||||
multi_json (~> 1.10)
|
multi_json (~> 1.10)
|
||||||
simctl (1.6.8)
|
simctl (1.6.10)
|
||||||
CFPropertyList
|
CFPropertyList
|
||||||
naturally
|
naturally
|
||||||
terminal-notifier (2.0.0)
|
terminal-notifier (2.0.0)
|
||||||
@@ -207,7 +207,7 @@ GEM
|
|||||||
unf_ext
|
unf_ext
|
||||||
unf_ext (0.0.8.2)
|
unf_ext (0.0.8.2)
|
||||||
unicode-display_width (1.8.0)
|
unicode-display_width (1.8.0)
|
||||||
webrick (1.7.0)
|
webrick (1.8.1)
|
||||||
word_wrap (1.0.0)
|
word_wrap (1.0.0)
|
||||||
xcodeproj (1.22.0)
|
xcodeproj (1.22.0)
|
||||||
CFPropertyList (>= 2.3.3, < 4.0)
|
CFPropertyList (>= 2.3.3, < 4.0)
|
||||||
@@ -230,4 +230,4 @@ DEPENDENCIES
|
|||||||
fastlane-plugin-diawi
|
fastlane-plugin-diawi
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.3.20
|
2.4.6
|
||||||
|
|||||||
@@ -45,10 +45,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0x58gl654kcx65wyrix5swh5f9y431881a5mql8g3zwshd81fyb3";
|
sha256 = "0q3q19insq5ablmr6ypq033qg1gsar5mdphhp7xg80rd615cnq97";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.644.0";
|
version = "1.728.0";
|
||||||
};
|
};
|
||||||
aws-sdk-core = {
|
aws-sdk-core = {
|
||||||
dependencies = ["aws-eventstream" "aws-partitions" "aws-sigv4" "jmespath"];
|
dependencies = ["aws-eventstream" "aws-partitions" "aws-sigv4" "jmespath"];
|
||||||
@@ -56,10 +56,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0cdjmpblskjmhag7wx6scwkd3cw1gfh85syr599s05k8zp6y4qw8";
|
sha256 = "0zc4zhv2wq7s5p8c9iaplama1lpg2kwldg81j83c8w4xydf1wd2r";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "3.159.0";
|
version = "3.170.0";
|
||||||
};
|
};
|
||||||
aws-sdk-kms = {
|
aws-sdk-kms = {
|
||||||
dependencies = ["aws-sdk-core" "aws-sigv4"];
|
dependencies = ["aws-sdk-core" "aws-sigv4"];
|
||||||
@@ -67,10 +67,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1p2dbmb1vl8vk2xchrrsp2sxa95ya5w7ll1jlw89yyhls3l2l1ag";
|
sha256 = "0v87zi28dfmrv7bv91yfldccnpd63n295siirbz7wqv1rajn8n02";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.58.0";
|
version = "1.63.0";
|
||||||
};
|
};
|
||||||
aws-sdk-s3 = {
|
aws-sdk-s3 = {
|
||||||
dependencies = ["aws-sdk-core" "aws-sdk-kms" "aws-sigv4"];
|
dependencies = ["aws-sdk-core" "aws-sdk-kms" "aws-sigv4"];
|
||||||
@@ -78,10 +78,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1r6dxz3llgxbbm66jq5mkzk0i6qsxwv0d9s0ipwb23vv3bgp23yf";
|
sha256 = "1rpnlzsl52znhcki13jkwdshgwf51pn26267481f4fa842gr7xgp";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.114.0";
|
version = "1.119.1";
|
||||||
};
|
};
|
||||||
aws-sigv4 = {
|
aws-sigv4 = {
|
||||||
dependencies = ["aws-eventstream"];
|
dependencies = ["aws-eventstream"];
|
||||||
@@ -110,10 +110,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "193l8r1ycd3dcxa7lsb4pqcghbk56dzc5244m6y8xmv88z6m31d7";
|
sha256 = "1a36zn77yyibqsfpka0i8vgf3yv98ic2b9wwlbc29566y8wpa2bq";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "3.0.5";
|
version = "3.0.6";
|
||||||
};
|
};
|
||||||
claide = {
|
claide = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
@@ -213,10 +213,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0b3rfqy87yiv9xmh260nyddxxjqj0vy32xvajvyn5jnjx96jwa24";
|
sha256 = "0j826kfvzn7nc5pv950n270r0sx1702k988ad11cdlav3dcxxw09";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "0.93.0";
|
version = "0.99.0";
|
||||||
};
|
};
|
||||||
faraday = {
|
faraday = {
|
||||||
dependencies = ["faraday-em_http" "faraday-em_synchrony" "faraday-excon" "faraday-httpclient" "faraday-multipart" "faraday-net_http" "faraday-net_http_persistent" "faraday-patron" "faraday-rack" "faraday-retry" "ruby2_keywords"];
|
dependencies = ["faraday-em_http" "faraday-em_synchrony" "faraday-excon" "faraday-httpclient" "faraday-multipart" "faraday-net_http" "faraday-net_http_persistent" "faraday-patron" "faraday-rack" "faraday-retry" "ruby2_keywords"];
|
||||||
@@ -224,10 +224,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1d5ipsv069dhgv9zhxgj8pz4j52yhgvfm01aq881yz7qgjd7ilxp";
|
sha256 = "1c760q0ks4vj4wmaa7nh1dgvgqiwaw0mjr7v8cymy7i3ffgjxx90";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.10.2";
|
version = "1.10.3";
|
||||||
};
|
};
|
||||||
faraday-cookie_jar = {
|
faraday-cookie_jar = {
|
||||||
dependencies = ["faraday" "http-cookie"];
|
dependencies = ["faraday" "http-cookie"];
|
||||||
@@ -368,10 +368,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1wxzcs81c5ji30hrz64884rg0w56v2nwjyiyc8daka578bg7s8d6";
|
sha256 = "0b22m2dkydyv2si55b1jzznzgxf2ycx2aarv1j5p25k861h2gsml";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "2.210.1";
|
version = "2.212.1";
|
||||||
};
|
};
|
||||||
fastlane-plugin-clean_testflight_testers = {
|
fastlane-plugin-clean_testflight_testers = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
@@ -410,10 +410,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0z2i5wpkawkf4f42i55b1240iw8819wx828579s4vavhd9s17yik";
|
sha256 = "1mbnmn36z1cnsd6ar76p9wvqi0ac6wlpm1p1lqczivain16qma76";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "0.29.0";
|
version = "0.36.0";
|
||||||
};
|
};
|
||||||
google-apis-core = {
|
google-apis-core = {
|
||||||
dependencies = ["addressable" "googleauth" "httpclient" "mini_mime" "representable" "retriable" "rexml" "webrick"];
|
dependencies = ["addressable" "googleauth" "httpclient" "mini_mime" "representable" "retriable" "rexml" "webrick"];
|
||||||
@@ -421,10 +421,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1w9m4zc5xswz2h7gj4jvnb1ivzb6lcsl75fnw8ip7qz6hzwfgrlc";
|
sha256 = "184zkm5agi7r5fl79hgahjpydsc4d23nd2ynh2sr9z8gs2w4h82f";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "0.9.0";
|
version = "0.11.0";
|
||||||
};
|
};
|
||||||
google-apis-iamcredentials_v1 = {
|
google-apis-iamcredentials_v1 = {
|
||||||
dependencies = ["google-apis-core"];
|
dependencies = ["google-apis-core"];
|
||||||
@@ -432,10 +432,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "06smnmn2s460xl9x9rh07a3fkqdrjjy6azmx8iywggqgv2k5d8p9";
|
sha256 = "0ysil0bkh755kmf9xvw5szhk1yyh3gqzwfsrbwsrl77gsv7jarcs";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "0.15.0";
|
version = "0.17.0";
|
||||||
};
|
};
|
||||||
google-apis-playcustomapp_v1 = {
|
google-apis-playcustomapp_v1 = {
|
||||||
dependencies = ["google-apis-core"];
|
dependencies = ["google-apis-core"];
|
||||||
@@ -443,10 +443,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "00nfh3xh51mbh02f8nqlsijdh59k9vjs5sglvpv09pl3wnhirf7w";
|
sha256 = "1mlgwiid5lgg41y7qk8ca9lzhwx5njs25hz5fbf1mdal0kwm37lm";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "0.11.0";
|
version = "0.13.0";
|
||||||
};
|
};
|
||||||
google-apis-storage_v1 = {
|
google-apis-storage_v1 = {
|
||||||
dependencies = ["google-apis-core"];
|
dependencies = ["google-apis-core"];
|
||||||
@@ -486,10 +486,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0jynh1s93nl8njm5l5wcy86pnjmv112cq6m0443s52f04hg6h2s5";
|
sha256 = "0flpj7v196c3xsqx4yjb7rjcj8p0by4rhj6qf5zanw4p1i41ssf0";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.3.0";
|
version = "1.3.1";
|
||||||
};
|
};
|
||||||
google-cloud-storage = {
|
google-cloud-storage = {
|
||||||
dependencies = ["addressable" "digest-crc" "google-apis-iamcredentials_v1" "google-apis-storage_v1" "google-cloud-core" "googleauth" "mini_mime"];
|
dependencies = ["addressable" "digest-crc" "google-apis-iamcredentials_v1" "google-apis-storage_v1" "google-cloud-core" "googleauth" "mini_mime"];
|
||||||
@@ -497,10 +497,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0j3hqyb4zgj6az6p0bz0kgskl6fddrwb095kxfbdx8r11m07mfr8";
|
sha256 = "1skhlpcykxxzw3050cwngdyc3n746wfx443w1w9chxwjbh2ix6i9";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.43.0";
|
version = "1.44.0";
|
||||||
};
|
};
|
||||||
googleauth = {
|
googleauth = {
|
||||||
dependencies = ["faraday" "jwt" "memoist" "multi_json" "os" "signet"];
|
dependencies = ["faraday" "jwt" "memoist" "multi_json" "os" "signet"];
|
||||||
@@ -508,10 +508,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "030bcdnffwndk8h270cmbndixb5h3ss860yifv6bkfys95s5fjpp";
|
sha256 = "1hpwgwhk0lmnknkw8kbdfxn95qqs6aagpq815l5fkw9w6mi77pai";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.2.0";
|
version = "1.3.0";
|
||||||
};
|
};
|
||||||
highline = {
|
highline = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
@@ -559,30 +559,30 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1mnvb80cdg7fzdcs3xscv21p28w4igk5sj5m7m81xp8v2ks87jj0";
|
sha256 = "1cdw9vw2qly7q7r41s7phnac264rbsdqgj4l0h4nqgbjb157g393";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.6.1";
|
version = "1.6.2";
|
||||||
};
|
};
|
||||||
json = {
|
json = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0yk5d10yvspkc5jyvx9gc1a9pn1z8v4k2hvjk1l88zixwf3wf3cl";
|
sha256 = "0nalhin1gda4v8ybk6lq8f407cgfrj6qzn234yra4ipkmlbfmal6";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "2.6.2";
|
version = "2.6.3";
|
||||||
};
|
};
|
||||||
jwt = {
|
jwt = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0kcmnx6rgjyd7sznai9ccns2nh7p7wnw3mi8a7vf2wkm51azwddq";
|
sha256 = "09yj3z5snhaawh2z1w45yyihzmh57m6m7dp8ra8gxavhj5kbiq5p";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "2.5.0";
|
version = "2.7.0";
|
||||||
};
|
};
|
||||||
memoist = {
|
memoist = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
@@ -610,20 +610,20 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "003gd7mcay800k2q4pb2zn8lwwgci4bhi42v2jvlidm8ksx03i6q";
|
sha256 = "1pky3vzaxlgm9gw5wlqwwi7wsw3jrglrfflrppvvnsrlaiz043z9";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "3.2022.0105";
|
version = "3.2023.0218.1";
|
||||||
};
|
};
|
||||||
mini_magick = {
|
mini_magick = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1aj604x11d9pksbljh0l38f70b558rhdgji1s9i763hiagvvx2hs";
|
sha256 = "0slh78f9z6n0l1i2km7m48yz7l4fjrk88sj1f4mh1wb39sl2yc37";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "4.11.0";
|
version = "4.12.0";
|
||||||
};
|
};
|
||||||
mini_mime = {
|
mini_mime = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
@@ -710,20 +710,20 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1whhr897z6z6av85x2cipyjk46bwh6s4wx6nbrcd3iifnzvbqs7l";
|
sha256 = "0wzhnbzraz60paxhm48c50fp9xi7cqka4gfhxmiq43mhgh5ajg3h";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "3.6.0";
|
version = "3.7.0";
|
||||||
};
|
};
|
||||||
public_suffix = {
|
public_suffix = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0sqw1zls6227bgq38sxb2hs8nkdz4hn1zivs27mjbniswfy4zvi6";
|
sha256 = "0hz0bx2qs2pwb0bwazzsah03ilpf3aai8b7lk7s35jsfzwbkjq35";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "5.0.0";
|
version = "5.0.1";
|
||||||
};
|
};
|
||||||
rake = {
|
rake = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
@@ -834,10 +834,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1v9rsdmg5c5kkf8ps47xnrfbvjnq11sbaifr186jwkh4npawz00x";
|
sha256 = "0sr3z4kmp6ym7synicyilj9vic7i9nxgaszqx6n1xn1ss7s7g45r";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.6.8";
|
version = "1.6.10";
|
||||||
};
|
};
|
||||||
terminal-notifier = {
|
terminal-notifier = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
@@ -947,10 +947,10 @@
|
|||||||
platforms = [];
|
platforms = [];
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1d4cvgmxhfczxiq5fr534lmizkhigd15bsx5719r5ds7k7ivisc7";
|
sha256 = "13qm7s0gr2pmfcl7dxrmq38asaza4w0i2n9my4yzs499j731wh8r";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.7.0";
|
version = "1.8.1";
|
||||||
};
|
};
|
||||||
word_wrap = {
|
word_wrap = {
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
|
|||||||
@@ -35,26 +35,6 @@ abstract_target 'Status' do
|
|||||||
target 'StatusImPR' do
|
target 'StatusImPR' do
|
||||||
end
|
end
|
||||||
|
|
||||||
post_install do |installer|
|
|
||||||
# some of libs wouldn't be build for x86_64 otherwise and that is
|
|
||||||
# necessary for ios simulators
|
|
||||||
installer.pods_project.targets.each do |target|
|
|
||||||
target.build_configurations.each do |config|
|
|
||||||
config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# FIXME: Fix dependency signing broken on Xcode 14 due to lack of Team ID.
|
|
||||||
# https://github.com/CocoaPods/CocoaPods/issues/11402
|
|
||||||
installer.pods_project.targets.each do |target|
|
|
||||||
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
|
|
||||||
target.build_configurations.each do |config|
|
|
||||||
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
use_native_modules!
|
use_native_modules!
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -27,15 +27,15 @@ PODS:
|
|||||||
- CryptoSwift
|
- CryptoSwift
|
||||||
- secp256k1
|
- secp256k1
|
||||||
- SSZipArchive
|
- SSZipArchive
|
||||||
- libwebp (1.2.3):
|
- libwebp (1.2.4):
|
||||||
- libwebp/demux (= 1.2.3)
|
- libwebp/demux (= 1.2.4)
|
||||||
- libwebp/mux (= 1.2.3)
|
- libwebp/mux (= 1.2.4)
|
||||||
- libwebp/webp (= 1.2.3)
|
- libwebp/webp (= 1.2.4)
|
||||||
- libwebp/demux (1.2.3):
|
- libwebp/demux (1.2.4):
|
||||||
- libwebp/webp
|
- libwebp/webp
|
||||||
- libwebp/mux (1.2.3):
|
- libwebp/mux (1.2.4):
|
||||||
- libwebp/demux
|
- libwebp/demux
|
||||||
- libwebp/webp (1.2.3)
|
- libwebp/webp (1.2.4)
|
||||||
- Permission-Camera (2.1.5):
|
- Permission-Camera (2.1.5):
|
||||||
- RNPermissions
|
- RNPermissions
|
||||||
- Permission-Microphone (2.1.5):
|
- Permission-Microphone (2.1.5):
|
||||||
@@ -228,6 +228,8 @@ PODS:
|
|||||||
- React-Core
|
- React-Core
|
||||||
- react-native-netinfo (4.7.0):
|
- react-native-netinfo (4.7.0):
|
||||||
- React
|
- React
|
||||||
|
- react-native-orientation-locker (1.5.0):
|
||||||
|
- React-Core
|
||||||
- react-native-randombytes (3.6.1):
|
- react-native-randombytes (3.6.1):
|
||||||
- React-Core
|
- React-Core
|
||||||
- react-native-safe-area-context (2.0.0):
|
- react-native-safe-area-context (2.0.0):
|
||||||
@@ -238,7 +240,7 @@ PODS:
|
|||||||
- React
|
- React
|
||||||
- react-native-status (1.0.0):
|
- react-native-status (1.0.0):
|
||||||
- React
|
- React
|
||||||
- react-native-status-keycard (2.5.38):
|
- react-native-status-keycard (2.5.39):
|
||||||
- Keycard
|
- Keycard
|
||||||
- React
|
- React
|
||||||
- react-native-webview (11.16.0):
|
- react-native-webview (11.16.0):
|
||||||
@@ -433,6 +435,7 @@ DEPENDENCIES:
|
|||||||
- react-native-lottie-splash-screen (from `../node_modules/react-native-lottie-splash-screen`)
|
- react-native-lottie-splash-screen (from `../node_modules/react-native-lottie-splash-screen`)
|
||||||
- react-native-mail (from `../node_modules/react-native-mail`)
|
- react-native-mail (from `../node_modules/react-native-mail`)
|
||||||
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
|
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
|
||||||
|
- react-native-orientation-locker (from `../node_modules/react-native-orientation-locker`)
|
||||||
- react-native-randombytes (from `../node_modules/react-native-randombytes`)
|
- react-native-randombytes (from `../node_modules/react-native-randombytes`)
|
||||||
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
|
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
|
||||||
- react-native-shake (from `../node_modules/react-native-shake`)
|
- react-native-shake (from `../node_modules/react-native-shake`)
|
||||||
@@ -545,6 +548,8 @@ EXTERNAL SOURCES:
|
|||||||
:path: "../node_modules/react-native-mail"
|
:path: "../node_modules/react-native-mail"
|
||||||
react-native-netinfo:
|
react-native-netinfo:
|
||||||
:path: "../node_modules/@react-native-community/netinfo"
|
:path: "../node_modules/@react-native-community/netinfo"
|
||||||
|
react-native-orientation-locker:
|
||||||
|
:path: "../node_modules/react-native-orientation-locker"
|
||||||
react-native-randombytes:
|
react-native-randombytes:
|
||||||
:path: "../node_modules/react-native-randombytes"
|
:path: "../node_modules/react-native-randombytes"
|
||||||
react-native-safe-area-context:
|
react-native-safe-area-context:
|
||||||
@@ -640,10 +645,10 @@ SPEC CHECKSUMS:
|
|||||||
FBLazyVector: 352a8ca9bbc8e2f097d680747a8c97ecef12d469
|
FBLazyVector: 352a8ca9bbc8e2f097d680747a8c97ecef12d469
|
||||||
FBReactNativeSpec: 7dfb84f624136a45727c813ed21d130cd3e61beb
|
FBReactNativeSpec: 7dfb84f624136a45727c813ed21d130cd3e61beb
|
||||||
Folly: b73c3869541e86821df3c387eb0af5f65addfab4
|
Folly: b73c3869541e86821df3c387eb0af5f65addfab4
|
||||||
glog: 997518ea2aa2d8cd5df9797b641b758d52ecf2bc
|
glog: 6934faae5afbec23475648c8aeb6047ce973af65
|
||||||
HMSegmentedControl: 34c1f54d822d8308e7b24f5d901ec674dfa31352
|
HMSegmentedControl: 34c1f54d822d8308e7b24f5d901ec674dfa31352
|
||||||
Keycard: ac6df4d91525c3c82635ac24d4ddd9a80aca5fc8
|
Keycard: ac6df4d91525c3c82635ac24d4ddd9a80aca5fc8
|
||||||
libwebp: 60305b2e989864154bd9be3d772730f08fc6a59c
|
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
|
||||||
Permission-Camera: afad27bf90337684d4a86f3825112d648c8c4d3b
|
Permission-Camera: afad27bf90337684d4a86f3825112d648c8c4d3b
|
||||||
Permission-Microphone: 0ffabc3fe1c75cfb260525ee3f529383c9f4368c
|
Permission-Microphone: 0ffabc3fe1c75cfb260525ee3f529383c9f4368c
|
||||||
RCTRequired: 5520387431beaa5f32aa8726bf746cd5353119fe
|
RCTRequired: 5520387431beaa5f32aa8726bf746cd5353119fe
|
||||||
@@ -666,12 +671,13 @@ SPEC CHECKSUMS:
|
|||||||
react-native-lottie-splash-screen: 068688c15dd478301fda00f8d87d7fb7d5b9a93e
|
react-native-lottie-splash-screen: 068688c15dd478301fda00f8d87d7fb7d5b9a93e
|
||||||
react-native-mail: 8fdcd3aef007c33a6877a18eb4cf7447a1d4ce4a
|
react-native-mail: 8fdcd3aef007c33a6877a18eb4cf7447a1d4ce4a
|
||||||
react-native-netinfo: ddaca8bbb9e6e914b1a23787ccb879bc642931c9
|
react-native-netinfo: ddaca8bbb9e6e914b1a23787ccb879bc642931c9
|
||||||
|
react-native-orientation-locker: 851f6510d8046ea2f14aa169b1e01fcd309a94ba
|
||||||
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
|
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
|
||||||
react-native-safe-area-context: 60f654e00b6cc416573f6d5dbfce3839958eb57a
|
react-native-safe-area-context: 60f654e00b6cc416573f6d5dbfce3839958eb57a
|
||||||
react-native-shake: de052eaa3eadc4a326b8ddd7ac80c06e8d84528c
|
react-native-shake: de052eaa3eadc4a326b8ddd7ac80c06e8d84528c
|
||||||
react-native-slider: 12bd76d3d568c9c5500825db54123d44b48e4ad4
|
react-native-slider: 12bd76d3d568c9c5500825db54123d44b48e4ad4
|
||||||
react-native-status: 21f75d492fd311dc111303da38a7a2b23a8a8466
|
react-native-status: 21f75d492fd311dc111303da38a7a2b23a8a8466
|
||||||
react-native-status-keycard: f60ca57d789aad6875c64ece81ab06ef0609e0d3
|
react-native-status-keycard: f1c1227b2d5984c10fb44db68e4bfd2937f31e98
|
||||||
react-native-webview: 28a8636d97ee641f2ee8f20492d7a6c269c1d703
|
react-native-webview: 28a8636d97ee641f2ee8f20492d7a6c269c1d703
|
||||||
React-RCTActionSheet: e911b99f0d6fa7711ffc2f62d236b12a32771835
|
React-RCTActionSheet: e911b99f0d6fa7711ffc2f62d236b12a32771835
|
||||||
React-RCTAnimation: ad8b853170a059faf31d6add34f67d22391bbe01
|
React-RCTAnimation: ad8b853170a059faf31d6add34f67d22391bbe01
|
||||||
@@ -710,6 +716,6 @@ SPEC CHECKSUMS:
|
|||||||
TouchID: ba4c656d849cceabc2e4eef722dea5e55959ecf4
|
TouchID: ba4c656d849cceabc2e4eef722dea5e55959ecf4
|
||||||
Yoga: 0276e9f20976c8568e107cfc1163a8629051adc0
|
Yoga: 0276e9f20976c8568e107cfc1163a8629051adc0
|
||||||
|
|
||||||
PODFILE CHECKSUM: ca5d07911eadc1267649ecc15379e5127a0cc839
|
PODFILE CHECKSUM: dd4d6510a5580d20adac6c8a8dad97a0bc7d6508
|
||||||
|
|
||||||
COCOAPODS: 1.11.3
|
COCOAPODS: 1.12.0
|
||||||
|
|||||||
@@ -49,6 +49,12 @@
|
|||||||
B2F2D1BC1D9D531B00B7B453 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B2F2D1BB1D9D531B00B7B453 /* Images.xcassets */; };
|
B2F2D1BC1D9D531B00B7B453 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B2F2D1BB1D9D531B00B7B453 /* Images.xcassets */; };
|
||||||
BA68A2377A20496EA737000D /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 4E586E1B0E544F64AA9F5BD1 /* libz.tbd */; };
|
BA68A2377A20496EA737000D /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 4E586E1B0E544F64AA9F5BD1 /* libz.tbd */; };
|
||||||
BFF6343F5A1F0F5FFFC8D020 /* libPods-Status-StatusIm-StatusImTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A4B974811E312E44D5BBE9EC /* libPods-Status-StatusIm-StatusImTests.a */; };
|
BFF6343F5A1F0F5FFFC8D020 /* libPods-Status-StatusIm-StatusImTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A4B974811E312E44D5BBE9EC /* libPods-Status-StatusIm-StatusImTests.a */; };
|
||||||
|
C14C5F8D29C0A149005C58A7 /* launch-icon@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = C14C5F8C29C0A149005C58A7 /* launch-icon@3x.png */; };
|
||||||
|
C14C5F9129C0AD9C005C58A7 /* launch-icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C14C5F9029C0AD9C005C58A7 /* launch-icon@2x.png */; };
|
||||||
|
C14C5F9329C0ADB5005C58A7 /* launch-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = C14C5F9229C0ADB5005C58A7 /* launch-icon.png */; };
|
||||||
|
C1715FFA29C0BCE10088FA8B /* launch-icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C14C5F9029C0AD9C005C58A7 /* launch-icon@2x.png */; };
|
||||||
|
C1715FFB29C0BCE50088FA8B /* launch-icon@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = C14C5F8C29C0A149005C58A7 /* launch-icon@3x.png */; };
|
||||||
|
C1715FFC29C0BCE80088FA8B /* launch-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = C14C5F9229C0ADB5005C58A7 /* launch-icon.png */; };
|
||||||
CE4E31B31D8695250033ED64 /* Statusgo.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE4E31B21D8695250033ED64 /* Statusgo.xcframework */; };
|
CE4E31B31D8695250033ED64 /* Statusgo.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE4E31B21D8695250033ED64 /* Statusgo.xcframework */; };
|
||||||
D1786306E0184916B11F4C37 /* Inter-Medium.otf in Resources */ = {isa = PBXBuildFile; fileRef = B2A38FC3D3954DE7B2B171F8 /* Inter-Medium.otf */; };
|
D1786306E0184916B11F4C37 /* Inter-Medium.otf in Resources */ = {isa = PBXBuildFile; fileRef = B2A38FC3D3954DE7B2B171F8 /* Inter-Medium.otf */; };
|
||||||
D84616FB563A48EBB1678699 /* Inter-Bold.otf in Resources */ = {isa = PBXBuildFile; fileRef = CD4A2C27D6D5473184DC1F7E /* Inter-Bold.otf */; };
|
D84616FB563A48EBB1678699 /* Inter-Bold.otf in Resources */ = {isa = PBXBuildFile; fileRef = CD4A2C27D6D5473184DC1F7E /* Inter-Bold.otf */; };
|
||||||
@@ -142,6 +148,9 @@
|
|||||||
B2A38FC3D3954DE7B2B171F8 /* Inter-Medium.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Medium.otf"; path = "../resources/fonts/Inter-Medium.otf"; sourceTree = "<group>"; };
|
B2A38FC3D3954DE7B2B171F8 /* Inter-Medium.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Medium.otf"; path = "../resources/fonts/Inter-Medium.otf"; sourceTree = "<group>"; };
|
||||||
B2F2D1BB1D9D531B00B7B453 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = StatusIm/Images.xcassets; sourceTree = "<group>"; };
|
B2F2D1BB1D9D531B00B7B453 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = StatusIm/Images.xcassets; sourceTree = "<group>"; };
|
||||||
B321D25F4493470980039457 /* Inter-BoldItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-BoldItalic.otf"; path = "../resources/fonts/Inter-BoldItalic.otf"; sourceTree = "<group>"; };
|
B321D25F4493470980039457 /* Inter-BoldItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-BoldItalic.otf"; path = "../resources/fonts/Inter-BoldItalic.otf"; sourceTree = "<group>"; };
|
||||||
|
C14C5F8C29C0A149005C58A7 /* launch-icon@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "launch-icon@3x.png"; path = "StatusIm/launch-icon@3x.png"; sourceTree = "<group>"; };
|
||||||
|
C14C5F9029C0AD9C005C58A7 /* launch-icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "launch-icon@2x.png"; path = "StatusIm/launch-icon@2x.png"; sourceTree = "<group>"; };
|
||||||
|
C14C5F9229C0ADB5005C58A7 /* launch-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "launch-icon.png"; path = "StatusIm/launch-icon.png"; sourceTree = "<group>"; };
|
||||||
C6B1215047604CD59A4C74D6 /* Inter-MediumItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-MediumItalic.otf"; path = "../resources/fonts/Inter-MediumItalic.otf"; sourceTree = "<group>"; };
|
C6B1215047604CD59A4C74D6 /* Inter-MediumItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-MediumItalic.otf"; path = "../resources/fonts/Inter-MediumItalic.otf"; sourceTree = "<group>"; };
|
||||||
CD4A2C27D6D5473184DC1F7E /* Inter-Bold.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Bold.otf"; path = "../resources/fonts/Inter-Bold.otf"; sourceTree = "<group>"; };
|
CD4A2C27D6D5473184DC1F7E /* Inter-Bold.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Bold.otf"; path = "../resources/fonts/Inter-Bold.otf"; sourceTree = "<group>"; };
|
||||||
CE4E31B21D8695250033ED64 /* Statusgo.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Statusgo.xcframework; path = "../modules/react-native-status/ios/RCTStatus/Statusgo.xcframework"; sourceTree = "<group>"; };
|
CE4E31B21D8695250033ED64 /* Statusgo.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Statusgo.xcframework; path = "../modules/react-native-status/ios/RCTStatus/Statusgo.xcframework"; sourceTree = "<group>"; };
|
||||||
@@ -206,6 +215,9 @@
|
|||||||
13B07FAE1A68108700A75B9A /* StatusIm */ = {
|
13B07FAE1A68108700A75B9A /* StatusIm */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
C14C5F9229C0ADB5005C58A7 /* launch-icon.png */,
|
||||||
|
C14C5F9029C0AD9C005C58A7 /* launch-icon@2x.png */,
|
||||||
|
C14C5F8C29C0A149005C58A7 /* launch-icon@3x.png */,
|
||||||
922C4CA61F4D5F8B0033C753 /* StatusIm.entitlements */,
|
922C4CA61F4D5F8B0033C753 /* StatusIm.entitlements */,
|
||||||
B2F2D1BB1D9D531B00B7B453 /* Images.xcassets */,
|
B2F2D1BB1D9D531B00B7B453 /* Images.xcassets */,
|
||||||
008F07F21AC5B25A0029DE68 /* main.jsbundle */,
|
008F07F21AC5B25A0029DE68 /* main.jsbundle */,
|
||||||
@@ -405,9 +417,7 @@
|
|||||||
TestTargetID = 13B07F861A680F5B00A75B9A;
|
TestTargetID = 13B07F861A680F5B00A75B9A;
|
||||||
};
|
};
|
||||||
13B07F861A680F5B00A75B9A = {
|
13B07F861A680F5B00A75B9A = {
|
||||||
DevelopmentTeam = 8B5X2M6H2Y;
|
|
||||||
LastSwiftMigration = 1140;
|
LastSwiftMigration = 1140;
|
||||||
ProvisioningStyle = Manual;
|
|
||||||
SystemCapabilities = {
|
SystemCapabilities = {
|
||||||
com.apple.BackgroundModes = {
|
com.apple.BackgroundModes = {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
@@ -477,8 +487,10 @@
|
|||||||
isa = PBXResourcesBuildPhase;
|
isa = PBXResourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
C14C5F9329C0ADB5005C58A7 /* launch-icon.png in Resources */,
|
||||||
74B758FC20D7C00B003343C3 /* launch-image-universal.storyboard in Resources */,
|
74B758FC20D7C00B003343C3 /* launch-image-universal.storyboard in Resources */,
|
||||||
715D8132290BE850006F5C88 /* UbuntuMono-Regular.ttf in Resources */,
|
715D8132290BE850006F5C88 /* UbuntuMono-Regular.ttf in Resources */,
|
||||||
|
C14C5F9129C0AD9C005C58A7 /* launch-icon@2x.png in Resources */,
|
||||||
B2F2D1BC1D9D531B00B7B453 /* Images.xcassets in Resources */,
|
B2F2D1BC1D9D531B00B7B453 /* Images.xcassets in Resources */,
|
||||||
D84616FB563A48EBB1678699 /* Inter-Bold.otf in Resources */,
|
D84616FB563A48EBB1678699 /* Inter-Bold.otf in Resources */,
|
||||||
D99C50E5E18942A39C8DDF61 /* Inter-BoldItalic.otf in Resources */,
|
D99C50E5E18942A39C8DDF61 /* Inter-BoldItalic.otf in Resources */,
|
||||||
@@ -489,6 +501,7 @@
|
|||||||
70ADBB5ECF934DCF8A0E4919 /* Inter-Regular.otf in Resources */,
|
70ADBB5ECF934DCF8A0E4919 /* Inter-Regular.otf in Resources */,
|
||||||
3870E1E692E24133A80B07DE /* Inter-SemiBold.otf in Resources */,
|
3870E1E692E24133A80B07DE /* Inter-SemiBold.otf in Resources */,
|
||||||
8391E8E0E93C41A98AAA6631 /* Inter-SemiBoldItalic.otf in Resources */,
|
8391E8E0E93C41A98AAA6631 /* Inter-SemiBoldItalic.otf in Resources */,
|
||||||
|
C14C5F8D29C0A149005C58A7 /* launch-icon@3x.png in Resources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
@@ -501,13 +514,16 @@
|
|||||||
3AAD2ACB24A3A60E0075D594 /* Images.xcassets in Resources */,
|
3AAD2ACB24A3A60E0075D594 /* Images.xcassets in Resources */,
|
||||||
3AAD2ACC24A3A60E0075D594 /* Inter-Bold.otf in Resources */,
|
3AAD2ACC24A3A60E0075D594 /* Inter-Bold.otf in Resources */,
|
||||||
3AAD2ACD24A3A60E0075D594 /* Inter-BoldItalic.otf in Resources */,
|
3AAD2ACD24A3A60E0075D594 /* Inter-BoldItalic.otf in Resources */,
|
||||||
|
C1715FFA29C0BCE10088FA8B /* launch-icon@2x.png in Resources */,
|
||||||
3AAD2ACE24A3A60E0075D594 /* InterStatus-Regular.otf in Resources */,
|
3AAD2ACE24A3A60E0075D594 /* InterStatus-Regular.otf in Resources */,
|
||||||
3AAD2ACF24A3A60E0075D594 /* Inter-Italic.otf in Resources */,
|
3AAD2ACF24A3A60E0075D594 /* Inter-Italic.otf in Resources */,
|
||||||
3AAD2AD024A3A60E0075D594 /* Inter-Medium.otf in Resources */,
|
3AAD2AD024A3A60E0075D594 /* Inter-Medium.otf in Resources */,
|
||||||
3AAD2AD124A3A60E0075D594 /* Inter-MediumItalic.otf in Resources */,
|
3AAD2AD124A3A60E0075D594 /* Inter-MediumItalic.otf in Resources */,
|
||||||
3AAD2AD224A3A60E0075D594 /* Inter-Regular.otf in Resources */,
|
3AAD2AD224A3A60E0075D594 /* Inter-Regular.otf in Resources */,
|
||||||
|
C1715FFC29C0BCE80088FA8B /* launch-icon.png in Resources */,
|
||||||
3AAD2AD324A3A60E0075D594 /* Inter-SemiBold.otf in Resources */,
|
3AAD2AD324A3A60E0075D594 /* Inter-SemiBold.otf in Resources */,
|
||||||
3AAD2AD424A3A60E0075D594 /* Inter-SemiBoldItalic.otf in Resources */,
|
3AAD2AD424A3A60E0075D594 /* Inter-SemiBoldItalic.otf in Resources */,
|
||||||
|
C1715FFB29C0BCE50088FA8B /* launch-icon@3x.png in Resources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
@@ -525,8 +541,8 @@
|
|||||||
outputPaths = (
|
outputPaths = (
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = "/usr/bin/env sh";
|
||||||
shellScript = "set -o errexit\nexport NODE_BINARY=\"node\"\nexport NODE_ARGS=\" --max-old-space-size=16384 \"\n\nbash -x ../node_modules/react-native/scripts/react-native-xcode.sh > ./react-native-xcode.log 2>&1";
|
shellScript = "set -o errexit\nexport NODE_BINARY=\"${NODE_BINARY:-node}\"\nexport NODE_ARGS=\" --openssl-legacy-provider --max-old-space-size=16384 \"\n\nbash -x ../node_modules/react-native/scripts/react-native-xcode.sh > ./logs/react-native-xcode.log 2>&1";
|
||||||
};
|
};
|
||||||
0F876BD5356F61BF142A01A0 /* [CP] Check Pods Manifest.lock */ = {
|
0F876BD5356F61BF142A01A0 /* [CP] Check Pods Manifest.lock */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
@@ -546,7 +562,7 @@
|
|||||||
"$(DERIVED_FILE_DIR)/Pods-Status-StatusIm-StatusImTests-checkManifestLockResult.txt",
|
"$(DERIVED_FILE_DIR)/Pods-Status-StatusIm-StatusImTests-checkManifestLockResult.txt",
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = "/usr/bin/env sh";
|
||||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
@@ -568,7 +584,7 @@
|
|||||||
"$(DERIVED_FILE_DIR)/Pods-Status-StatusIm-checkManifestLockResult.txt",
|
"$(DERIVED_FILE_DIR)/Pods-Status-StatusIm-checkManifestLockResult.txt",
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = "/usr/bin/env sh";
|
||||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
@@ -583,8 +599,8 @@
|
|||||||
outputPaths = (
|
outputPaths = (
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = "/usr/bin/env sh";
|
||||||
shellScript = "set -o errexit\nexport NODE_BINARY=\"node\"\nexport NODE_ARGS=\" --max-old-space-size=16384 \"\n\nbash -x ../node_modules/react-native/scripts/react-native-xcode.sh > ./react-native-xcode.log 2>&1";
|
shellScript = "set -o errexit\nexport NODE_BINARY=\"${NODE_BINARY:-node}\"\nexport NODE_ARGS=\" --openssl-legacy-provider --max-old-space-size=16384 \"\n\nbash -x ../node_modules/react-native/scripts/react-native-xcode.sh > ./logs/react-native-xcode.log 2>&1";
|
||||||
};
|
};
|
||||||
3AAD2AD724A3A60E0075D594 /* Run Script */ = {
|
3AAD2AD724A3A60E0075D594 /* Run Script */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
@@ -597,8 +613,8 @@
|
|||||||
outputPaths = (
|
outputPaths = (
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 1;
|
runOnlyForDeploymentPostprocessing = 1;
|
||||||
shellPath = /bin/sh;
|
shellPath = "/usr/bin/env sh";
|
||||||
shellScript = "\"${PROJECT_DIR}/scripts/set_xcode_version.sh\" > ./set_xcode_version.log 2>&1";
|
shellScript = "\"${PROJECT_DIR}/scripts/set_xcode_version.sh\" > ./logs/set_xcode_version.log 2>&1";
|
||||||
};
|
};
|
||||||
3C1038075AE5E6FB86AC2319 /* [CP] Copy Pods Resources */ = {
|
3C1038075AE5E6FB86AC2319 /* [CP] Copy Pods Resources */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
@@ -618,7 +634,7 @@
|
|||||||
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TOCropViewControllerBundle.bundle",
|
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TOCropViewControllerBundle.bundle",
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = "/usr/bin/env sh";
|
||||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Status-StatusIm/Pods-Status-StatusIm-resources.sh\"\n";
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Status-StatusIm/Pods-Status-StatusIm-resources.sh\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
@@ -640,7 +656,7 @@
|
|||||||
"$(DERIVED_FILE_DIR)/Pods-Status-StatusImPR-checkManifestLockResult.txt",
|
"$(DERIVED_FILE_DIR)/Pods-Status-StatusImPR-checkManifestLockResult.txt",
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = "/usr/bin/env sh";
|
||||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
@@ -662,7 +678,7 @@
|
|||||||
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TOCropViewControllerBundle.bundle",
|
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TOCropViewControllerBundle.bundle",
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = "/usr/bin/env sh";
|
||||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Status-StatusIm-StatusImTests/Pods-Status-StatusIm-StatusImTests-resources.sh\"\n";
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Status-StatusIm-StatusImTests/Pods-Status-StatusIm-StatusImTests-resources.sh\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
@@ -677,8 +693,8 @@
|
|||||||
outputPaths = (
|
outputPaths = (
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 1;
|
runOnlyForDeploymentPostprocessing = 1;
|
||||||
shellPath = /bin/sh;
|
shellPath = "/usr/bin/env sh";
|
||||||
shellScript = "\"${PROJECT_DIR}/scripts/set_xcode_version.sh\" > ./set_xcode_version.log 2>&1";
|
shellScript = "\"${PROJECT_DIR}/scripts/set_xcode_version.sh\" > ./logs/set_xcode_version.log 2>&1";
|
||||||
};
|
};
|
||||||
E732E3E1B024946173BF6D3D /* [CP] Copy Pods Resources */ = {
|
E732E3E1B024946173BF6D3D /* [CP] Copy Pods Resources */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
@@ -698,7 +714,7 @@
|
|||||||
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TOCropViewControllerBundle.bundle",
|
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TOCropViewControllerBundle.bundle",
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
shellPath = /bin/sh;
|
shellPath = "/usr/bin/env sh";
|
||||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Status-StatusImPR/Pods-Status-StatusImPR-resources.sh\"\n";
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Status-StatusImPR/Pods-Status-StatusImPR-resources.sh\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
@@ -825,9 +841,8 @@
|
|||||||
BUNDLE_ID_SUFFIX = .debug;
|
BUNDLE_ID_SUFFIX = .debug;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = StatusIm/StatusIm.entitlements;
|
CODE_SIGN_ENTITLEMENTS = StatusIm/StatusIm.entitlements;
|
||||||
CODE_SIGN_IDENTITY = "iPhone Distribution";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CODE_SIGN_STYLE = Manual;
|
|
||||||
CUSTOM_PRODUCT_NAME = "Status Debug";
|
CUSTOM_PRODUCT_NAME = "Status Debug";
|
||||||
DEAD_CODE_STRIPPING = YES;
|
DEAD_CODE_STRIPPING = YES;
|
||||||
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
|
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
|
||||||
@@ -880,8 +895,7 @@
|
|||||||
);
|
);
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = im.status.ethereum;
|
PRODUCT_BUNDLE_IDENTIFIER = im.status.ethereum;
|
||||||
PRODUCT_NAME = StatusIm;
|
PRODUCT_NAME = StatusIm;
|
||||||
PROVISIONING_PROFILE = "9da75626-9594-43d9-a827-0f6d43c28f54";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "match Development im.status.ethereum";
|
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "StatusIm-Bridging-Header.h";
|
SWIFT_OBJC_BRIDGING_HEADER = "StatusIm-Bridging-Header.h";
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
@@ -899,9 +913,8 @@
|
|||||||
BUNDLE_ID_SUFFIX = "";
|
BUNDLE_ID_SUFFIX = "";
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = StatusIm/StatusIm.entitlements;
|
CODE_SIGN_ENTITLEMENTS = StatusIm/StatusIm.entitlements;
|
||||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CODE_SIGN_STYLE = Manual;
|
|
||||||
CUSTOM_PRODUCT_NAME = Status;
|
CUSTOM_PRODUCT_NAME = Status;
|
||||||
DEAD_CODE_STRIPPING = YES;
|
DEAD_CODE_STRIPPING = YES;
|
||||||
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
|
DEVELOPMENT_TEAM = 8B5X2M6H2Y;
|
||||||
@@ -946,8 +959,7 @@
|
|||||||
);
|
);
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = im.status.ethereum;
|
PRODUCT_BUNDLE_IDENTIFIER = im.status.ethereum;
|
||||||
PRODUCT_NAME = StatusIm;
|
PRODUCT_NAME = StatusIm;
|
||||||
PROVISIONING_PROFILE = "e2202b12-7a66-4ff7-af3c-a52e35f32dc1";
|
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "match AdHoc im.status.ethereum";
|
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "StatusIm-Bridging-Header.h";
|
SWIFT_OBJC_BRIDGING_HEADER = "StatusIm-Bridging-Header.h";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TARGETED_DEVICE_FAMILY = 1;
|
TARGETED_DEVICE_FAMILY = 1;
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 3.7 KiB |
@@ -119,6 +119,8 @@
|
|||||||
<array>
|
<array>
|
||||||
<string>armv7</string>
|
<string>armv7</string>
|
||||||
</array>
|
</array>
|
||||||
|
<key>UIStatusBarStyle</key>
|
||||||
|
<string>UIStatusBarStyleLightContent</string>
|
||||||
<key>UISupportedInterfaceOrientations</key>
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
|||||||
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
@@ -123,6 +123,8 @@
|
|||||||
<string>armv7</string>
|
<string>armv7</string>
|
||||||
<string>gamekit</string>
|
<string>gamekit</string>
|
||||||
</array>
|
</array>
|
||||||
|
<key>UIStatusBarStyle</key>
|
||||||
|
<string>UIStatusBarStyleLightContent</string>
|
||||||
<key>UISupportedInterfaceOrientations</key>
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Lsa-QA-3zn">
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Lsa-QA-3zn">
|
||||||
<device id="retina4_7" orientation="portrait" appearance="light"/>
|
<device id="retina4_7" orientation="portrait" appearance="light"/>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="iOS"/>
|
<deployment identifier="iOS"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
|
||||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
|
||||||
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
@@ -17,14 +16,20 @@
|
|||||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="launch_image" translatesAutoresizingMaskIntoConstraints="NO" id="cqW-9w-FC0">
|
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch-icon.png" translatesAutoresizingMaskIntoConstraints="NO" id="cqW-9w-FC0">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
|
<color key="backgroundColor" red="0.035294117647058823" green="0.062745098039215685" blue="0.10980392156862745" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
|
||||||
</imageView>
|
</imageView>
|
||||||
</subviews>
|
</subviews>
|
||||||
<viewLayoutGuide key="safeArea" id="2aN-f8-qiu"/>
|
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="bottom" secondItem="cqW-9w-FC0" secondAttribute="bottom" id="2Ue-hX-Tna"/>
|
||||||
|
<constraint firstAttribute="trailing" secondItem="cqW-9w-FC0" secondAttribute="trailing" id="Sfz-tk-PSg"/>
|
||||||
|
<constraint firstItem="cqW-9w-FC0" firstAttribute="leading" secondItem="0g6-xG-Wkj" secondAttribute="leading" id="UQo-dC-xeN"/>
|
||||||
|
<constraint firstItem="cqW-9w-FC0" firstAttribute="top" secondItem="0g6-xG-Wkj" secondAttribute="top" id="YrE-J2-QHf"/>
|
||||||
|
<constraint firstItem="cqW-9w-FC0" firstAttribute="centerX" secondItem="0g6-xG-Wkj" secondAttribute="centerX" id="ZQS-4G-GAL"/>
|
||||||
|
<constraint firstItem="cqW-9w-FC0" firstAttribute="centerY" secondItem="0g6-xG-Wkj" secondAttribute="centerY" id="noT-Rj-8Uy"/>
|
||||||
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="hOp-FG-FML" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="hOp-FG-FML" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
@@ -33,7 +38,7 @@
|
|||||||
</scene>
|
</scene>
|
||||||
</scenes>
|
</scenes>
|
||||||
<resources>
|
<resources>
|
||||||
<image name="launch_image" width="90" height="101"/>
|
<image name="launch-icon.png" width="84" height="88"/>
|
||||||
<systemColor name="systemBackgroundColor">
|
<systemColor name="systemBackgroundColor">
|
||||||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
</systemColor>
|
</systemColor>
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# Description
|
||||||
|
|
||||||
|
This directory is the destination of logs created by Fastlane and React Native Xcode script.
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
|
||||||
|
* `react-native-xcode.log` - Output from `node_modules/react-native/scripts/react-native-xcode.sh`.
|
||||||
|
- Created by redirecting output of `shellScript` in `ios/StatusIm.xcodeproj/project.pbxproj`.
|
||||||
|
* `Status PR-StatusImPR.log - Created by [Fastlane Gym](https://docs.fastlane.tools/actions/gym/).
|
||||||
|
- Configred via [`Fastfile`](../Fastfile) using `buildlog_path` argument for `build_ios_app`.
|
||||||
|
|
||||||
|
# CI
|
||||||
|
|
||||||
|
These log files are uploaded to Jenkins as CI job artifacts on failure using `archiveArtifacts`.
|
||||||
@@ -797,7 +797,7 @@ class StatusModule extends ReactContextBaseJavaModule implements LifecycleEventL
|
|||||||
final JSONObject jsonConfig = new JSONObject(configJSON);
|
final JSONObject jsonConfig = new JSONObject(configJSON);
|
||||||
final String keyStorePath = pathCombine(this.getNoBackupDirectory(), "/keystore");
|
final String keyStorePath = pathCombine(this.getNoBackupDirectory(), "/keystore");
|
||||||
jsonConfig.put("keystorePath", keyStorePath);
|
jsonConfig.put("keystorePath", keyStorePath);
|
||||||
|
jsonConfig.put("rootDataDir", this.getNoBackupDirectory());
|
||||||
executeRunnableStatusGoMethod(() -> Statusgo.inputConnectionStringForBootstrapping(connectionString, jsonConfig.toString()), callback);
|
executeRunnableStatusGoMethod(() -> Statusgo.inputConnectionStringForBootstrapping(connectionString, jsonConfig.toString()), callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1139,11 +1139,6 @@ class StatusModule extends ReactContextBaseJavaModule implements LifecycleEventL
|
|||||||
executeRunnableStatusGoMethod(() -> Statusgo.generateAlias(seed), callback);
|
executeRunnableStatusGoMethod(() -> Statusgo.generateAlias(seed), callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ReactMethod
|
|
||||||
public void emojiHash(final String publicKey, final Callback callback) throws JSONException {
|
|
||||||
executeRunnableStatusGoMethod(() -> Statusgo.emojiHash(publicKey), callback);
|
|
||||||
}
|
|
||||||
|
|
||||||
@ReactMethod(isBlockingSynchronousMethod = true)
|
@ReactMethod(isBlockingSynchronousMethod = true)
|
||||||
public String identicon(final String seed) {
|
public String identicon(final String seed) {
|
||||||
return Statusgo.identicon(seed);
|
return Statusgo.identicon(seed);
|
||||||
|
|||||||
@@ -329,12 +329,13 @@ RCT_EXPORT_METHOD(inputConnectionStringForBootstrapping:(NSString *)cs
|
|||||||
NSDictionary *configDict = [NSJSONSerialization JSONObjectWithData:configData options:NSJSONReadingMutableContainers error:nil];
|
NSDictionary *configDict = [NSJSONSerialization JSONObjectWithData:configData options:NSJSONReadingMutableContainers error:nil];
|
||||||
NSFileManager *fileManager = [NSFileManager defaultManager];
|
NSFileManager *fileManager = [NSFileManager defaultManager];
|
||||||
NSURL *rootUrl =[[fileManager URLsForDirectory:NSLibraryDirectory inDomains:NSUserDomainMask] lastObject];
|
NSURL *rootUrl =[[fileManager URLsForDirectory:NSLibraryDirectory inDomains:NSUserDomainMask] lastObject];
|
||||||
|
NSURL *rootDataDir = rootUrl.path;
|
||||||
NSURL *multiaccountKeystoreDir = [rootUrl URLByAppendingPathComponent:@"keystore"];
|
NSURL *multiaccountKeystoreDir = [rootUrl URLByAppendingPathComponent:@"keystore"];
|
||||||
NSString *keystoreDir = multiaccountKeystoreDir.path;
|
NSString *keystoreDir = multiaccountKeystoreDir.path;
|
||||||
|
|
||||||
[configDict setValue:keystoreDir forKey:@"keystorePath"];
|
[configDict setValue:keystoreDir forKey:@"keystorePath"];
|
||||||
|
[configDict setValue:rootDataDir forKey:@"rootDataDir"];
|
||||||
NSString *modifiedConfigJSON = [configDict bv_jsonStringWithPrettyPrint:NO];
|
NSString *modifiedConfigJSON = [configDict bv_jsonStringWithPrettyPrint:NO];
|
||||||
|
|
||||||
NSString *result = StatusgoInputConnectionStringForBootstrapping(cs,modifiedConfigJSON);
|
NSString *result = StatusgoInputConnectionStringForBootstrapping(cs,modifiedConfigJSON);
|
||||||
callback(@[result]);
|
callback(@[result]);
|
||||||
}
|
}
|
||||||
@@ -865,12 +866,6 @@ RCT_EXPORT_METHOD(generateAliasAsync:(NSString *)publicKey
|
|||||||
callback(@[result]);
|
callback(@[result]);
|
||||||
}
|
}
|
||||||
|
|
||||||
RCT_EXPORT_METHOD(emojiHash:(NSString *)publicKey
|
|
||||||
callback:(RCTResponseSenderBlock)callback) {
|
|
||||||
NSString *result = StatusgoEmojiHash(publicKey);
|
|
||||||
callback(@[result]);
|
|
||||||
}
|
|
||||||
|
|
||||||
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(identicon:(NSString *)publicKey) {
|
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(identicon:(NSString *)publicKey) {
|
||||||
return StatusgoIdenticon(publicKey);
|
return StatusgoIdenticon(publicKey);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ Generating scripts:
|
|||||||
- `get_deps.sh` - Calls Gradle to get all the dependencies of sub-projects.
|
- `get_deps.sh` - Calls Gradle to get all the dependencies of sub-projects.
|
||||||
- `gradle_parser.awk` - An AWK script that parses above Gradle output.
|
- `gradle_parser.awk` - An AWK script that parses above Gradle output.
|
||||||
- `url2json.sh` - Converts the list of URLs into a format consumable by Nix.
|
- `url2json.sh` - Converts the list of URLs into a format consumable by Nix.
|
||||||
|
- `add_package.sh` - Allows for adding a missing package manually.
|
||||||
|
|
||||||
Finally we have the Nix derivation in `default.nix` which produces a derivation with all of the Gradle project dependencies:
|
Finally we have the Nix derivation in `default.nix` which produces a derivation with all of the Gradle project dependencies:
|
||||||
```
|
```
|
||||||
@@ -66,9 +67,14 @@ You can use the `add_package.sh` script to add missing Gradle dependencies:
|
|||||||
> make shell TARGET=gradle
|
> make shell TARGET=gradle
|
||||||
Configuring Nix shell for target 'gradle'...
|
Configuring Nix shell for target 'gradle'...
|
||||||
|
|
||||||
[nix-shell:~/status-mobile]$ nix/deps/gradle/add_package.sh com.android.tools.build:gradle:3.4.0
|
[nix-shell:~/work/status-mobile]$ nix/deps/gradle/add_package.sh com.android.tools.build:gradle:3.5.3
|
||||||
|
Changes made:
|
||||||
|
nix/deps/gradle/deps.urls | 24 ++++++++++++++++++++++++
|
||||||
|
1 file changed, 24 insertions(+)
|
||||||
|
|
||||||
Regenerating Nix files...
|
Regenerating Nix files...
|
||||||
Found 548 direct dependencies...
|
Successfully added: com.android.tools.build:gradle:3.5.3
|
||||||
Successfully added: com.android.tools.build:gradle:3.4.0
|
|
||||||
|
NOTICE: Running 'make nix-update-gradle' in a new shell is recommended.
|
||||||
```
|
```
|
||||||
This may take a bit longer than normal `make nix-update-gradle` but should add the missing package.
|
Keep in mind that the changes made by this script do not affect the already spawned shell.
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -Eeu
|
# This script allows for adding a package by providing a Maven full name.
|
||||||
|
# Such name consists of 3 sections separated by the colon character.
|
||||||
|
# Example: com.android.tools.build:gradle:3.5.3
|
||||||
|
|
||||||
|
set -Eeuo pipefail
|
||||||
|
|
||||||
if [[ $# -ne 1 ]]; then
|
if [[ $# -ne 1 ]]; then
|
||||||
echo "Usage: add_package.sh <package>" >&2
|
echo "Usage: add_package.sh <package>" >&2
|
||||||
@@ -18,12 +22,15 @@ source "${GIT_ROOT}/scripts/colors.sh"
|
|||||||
echo "${1}" | go-maven-resolver >> nix/deps/gradle/deps.urls
|
echo "${1}" | go-maven-resolver >> nix/deps/gradle/deps.urls
|
||||||
|
|
||||||
# Remove duplicates and sort.
|
# Remove duplicates and sort.
|
||||||
sort -uo nix/deps/gradle/deps.urls nix/deps/gradle/deps.urls
|
sort -uVo nix/deps/gradle/deps.urls nix/deps/gradle/deps.urls
|
||||||
|
|
||||||
|
echo -e "${GRN}Changes made:${RST}" >&2
|
||||||
|
git diff --stat nix/deps/gradle/deps.urls
|
||||||
|
echo
|
||||||
|
|
||||||
# Re-generate dependencies JSON.
|
# Re-generate dependencies JSON.
|
||||||
"${GIT_ROOT}/nix/deps/gradle/generate.sh" gen_deps_json
|
"${GIT_ROOT}/nix/deps/gradle/generate.sh" gen_deps_json
|
||||||
|
|
||||||
# Re-generate dependencies list.
|
|
||||||
"${GIT_ROOT}/nix/deps/gradle/generate.sh" gen_deps_list
|
|
||||||
|
|
||||||
echo -e "${GRN}Successfully added:${RST} ${BLD}${1}${RST}" >&2
|
echo -e "${GRN}Successfully added:${RST} ${BLD}${1}${RST}" >&2
|
||||||
|
echo
|
||||||
|
echo -e "${YLW}NOTICE:${RST} Running '${BLD}make nix-update-gradle${RST}' in a new shell is recommended."
|
||||||
|
|||||||
@@ -1,68 +1,44 @@
|
|||||||
{ stdenv, lib, pkgs, fetchurl, writeShellScriptBin }:
|
{ stdenv, lib, pkgs, fetchurl, writeShellScriptBin }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib)
|
inherit (lib) concatStrings concatMapStrings mapAttrsToList makeOverridable;
|
||||||
removeSuffix optionalString splitString concatMapStrings
|
|
||||||
attrByPath attrValues last makeOverridable importJSON;
|
|
||||||
|
|
||||||
inherit (pkgs) aapt2;
|
deps = lib.importJSON ./deps.json;
|
||||||
|
|
||||||
deps = importJSON ./deps.json;
|
|
||||||
|
|
||||||
# some .jar files have an `-aot` suffix that doesn't work for .pom files
|
|
||||||
getPOM = jarUrl: "${removeSuffix "-aot" jarUrl}.pom";
|
|
||||||
|
|
||||||
script = writeShellScriptBin "create-local-maven-repo" (''
|
script = writeShellScriptBin "create-local-maven-repo" (''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cd $out
|
cd $out
|
||||||
'' +
|
'' +
|
||||||
(concatMapStrings (dep:
|
# For each dependency in deps.json.
|
||||||
let
|
(concatMapStrings (dep: concatStrings
|
||||||
url = "${dep.host}/${dep.path}";
|
# And for each file in the 'files' dict of given dependency.
|
||||||
pom = {
|
(mapAttrsToList (filename: hashes: let
|
||||||
sha1 = attrByPath [ "pom" "sha1" ] "" dep;
|
# Download given file(POM, JAR, nodeps JAR, or AAR).
|
||||||
sha256 = attrByPath [ "pom" "sha256" ] "" dep;
|
download = fetchurl {
|
||||||
};
|
url = "${dep.repo}/${dep.path}/${filename}";
|
||||||
pom-download = optionalString (pom.sha256 != "") (
|
inherit (hashes) sha256;
|
||||||
fetchurl { url = getPOM url; inherit (pom) sha256; }
|
};
|
||||||
);
|
# And symlink it in the correct folder along with SHA1.
|
||||||
jar = {
|
in ''
|
||||||
sha1 = attrByPath [ "jar" "sha1" ] "" dep;
|
mkdir -p "${dep.path}"
|
||||||
sha256 = attrByPath [ "jar" "sha256" ] "" dep;
|
ln -s "${download}" "${dep.path}/${filename}"
|
||||||
};
|
echo "${hashes.sha1}" > "${dep.path}/${filename}.sha1"
|
||||||
jar-download = optionalString (jar.sha256 != "") (
|
|
||||||
fetchurl { url = "${url}.${dep.type}"; inherit (jar) sha256; }
|
|
||||||
);
|
|
||||||
fileName = last (splitString "/" dep.path);
|
|
||||||
directory = removeSuffix fileName dep.path;
|
|
||||||
in
|
|
||||||
''
|
|
||||||
mkdir -p ${directory}
|
|
||||||
|
|
||||||
${optionalString (pom-download != "") ''
|
|
||||||
ln -s "${pom-download}" "${getPOM dep.path}"
|
|
||||||
''}
|
|
||||||
${optionalString (pom.sha1 != "") ''
|
|
||||||
echo "${pom.sha1}" > "${getPOM dep.path}.sha1"
|
|
||||||
''}
|
|
||||||
${optionalString (jar-download != "") ''
|
|
||||||
ln -s "${jar-download}" "${dep.path}.${dep.type}"
|
|
||||||
''}
|
|
||||||
${optionalString (jar.sha1 != "") ''
|
|
||||||
echo "${jar.sha1}" > "${dep.path}.${dep.type}.sha1"
|
|
||||||
''}
|
|
||||||
'')
|
'')
|
||||||
deps));
|
dep.files)
|
||||||
|
) deps)
|
||||||
|
);
|
||||||
|
|
||||||
in makeOverridable stdenv.mkDerivation {
|
in makeOverridable stdenv.mkDerivation {
|
||||||
name = "status-mobile-maven-deps";
|
name = "status-mobile-maven-deps";
|
||||||
buildInputs = [ aapt2 ];
|
|
||||||
|
buildInputs = [ pkgs.aapt2 ];
|
||||||
|
|
||||||
phases = [ "buildPhase" "patchPhase" ];
|
phases = [ "buildPhase" "patchPhase" ];
|
||||||
buildPhase = "${script}/bin/create-local-maven-repo";
|
buildPhase = "${script}/bin/create-local-maven-repo";
|
||||||
# Patched AAPT2
|
# Replace AAPT2 package only with our patched version from overlay.
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
aapt2_dir=$out/com/android/tools/build/aapt2/${aapt2.version}
|
aapt2_dir=$out/com/android/tools/build/aapt2/${pkgs.aapt2.version}
|
||||||
mkdir -p $aapt2_dir
|
mkdir -p $aapt2_dir
|
||||||
ln -sf ${aapt2}/* $aapt2_dir
|
ln -sf ${pkgs.aapt2}/* $aapt2_dir
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ androidx.constraintlayout:constraintlayout:2.0.4
|
|||||||
androidx.coordinatorlayout:coordinatorlayout:1.0.0
|
androidx.coordinatorlayout:coordinatorlayout:1.0.0
|
||||||
androidx.coordinatorlayout:coordinatorlayout:1.1.0
|
androidx.coordinatorlayout:coordinatorlayout:1.1.0
|
||||||
androidx.core:core-ktx:1.6.0
|
androidx.core:core-ktx:1.6.0
|
||||||
|
androidx.core:core-splashscreen:1.0.0
|
||||||
androidx.core:core:1.0.1
|
androidx.core:core:1.0.1
|
||||||
androidx.core:core:1.1.0
|
androidx.core:core:1.1.0
|
||||||
androidx.core:core:1.6.0
|
androidx.core:core:1.6.0
|
||||||
@@ -357,8 +358,8 @@ com.github.bumptech.glide:glide:4.12.0
|
|||||||
com.github.bumptech.glide:okhttp3-integration:4.12.0
|
com.github.bumptech.glide:okhttp3-integration:4.12.0
|
||||||
com.github.clans:fab:1.6.4
|
com.github.clans:fab:1.6.4
|
||||||
com.github.gundy:semver4j:0.16.4
|
com.github.gundy:semver4j:0.16.4
|
||||||
com.github.status-im.status-keycard-java:android:3.0.4
|
com.github.status-im.status-keycard-java:android:3.1.1
|
||||||
com.github.status-im.status-keycard-java:lib:3.0.4
|
com.github.status-im.status-keycard-java:lib:3.1.1
|
||||||
com.github.status-im:function:0.0.1
|
com.github.status-im:function:0.0.1
|
||||||
com.github.wix-playground:ahbottomnavigation:3.3.0
|
com.github.wix-playground:ahbottomnavigation:3.3.0
|
||||||
com.github.wix-playground:reflow-animator:1.0.6
|
com.github.wix-playground:reflow-animator:1.0.6
|
||||||
@@ -517,6 +518,7 @@ org.jetbrains.kotlin:kotlin-stdlib-common:1.3.50
|
|||||||
org.jetbrains.kotlin:kotlin-stdlib-common:1.4.31
|
org.jetbrains.kotlin:kotlin-stdlib-common:1.4.31
|
||||||
org.jetbrains.kotlin:kotlin-stdlib-common:1.5.10
|
org.jetbrains.kotlin:kotlin-stdlib-common:1.5.10
|
||||||
org.jetbrains.kotlin:kotlin-stdlib-common:1.5.30
|
org.jetbrains.kotlin:kotlin-stdlib-common:1.5.30
|
||||||
|
org.jetbrains.kotlin:kotlin-stdlib-common:1.6.21
|
||||||
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.71
|
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.71
|
||||||
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.20
|
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.20
|
||||||
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50
|
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50
|
||||||
@@ -536,6 +538,7 @@ org.jetbrains.kotlin:kotlin-stdlib:1.3.50
|
|||||||
org.jetbrains.kotlin:kotlin-stdlib:1.4.31
|
org.jetbrains.kotlin:kotlin-stdlib:1.4.31
|
||||||
org.jetbrains.kotlin:kotlin-stdlib:1.5.10
|
org.jetbrains.kotlin:kotlin-stdlib:1.5.10
|
||||||
org.jetbrains.kotlin:kotlin-stdlib:1.5.30
|
org.jetbrains.kotlin:kotlin-stdlib:1.5.30
|
||||||
|
org.jetbrains.kotlin:kotlin-stdlib:1.6.21
|
||||||
org.jetbrains.kotlin:kotlin-util-io:1.3.50
|
org.jetbrains.kotlin:kotlin-util-io:1.3.50
|
||||||
org.jetbrains.kotlin:kotlin-util-io:1.4.31
|
org.jetbrains.kotlin:kotlin-util-io:1.4.31
|
||||||
org.jetbrains.kotlin:kotlin-util-klib:1.4.31
|
org.jetbrains.kotlin:kotlin-util-klib:1.4.31
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ https://dl.google.com/dl/android/maven2/androidx/constraintlayout/constraintlayo
|
|||||||
https://dl.google.com/dl/android/maven2/androidx/coordinatorlayout/coordinatorlayout/1.0.0/coordinatorlayout-1.0.0.pom
|
https://dl.google.com/dl/android/maven2/androidx/coordinatorlayout/coordinatorlayout/1.0.0/coordinatorlayout-1.0.0.pom
|
||||||
https://dl.google.com/dl/android/maven2/androidx/coordinatorlayout/coordinatorlayout/1.1.0/coordinatorlayout-1.1.0.pom
|
https://dl.google.com/dl/android/maven2/androidx/coordinatorlayout/coordinatorlayout/1.1.0/coordinatorlayout-1.1.0.pom
|
||||||
https://dl.google.com/dl/android/maven2/androidx/core/core-ktx/1.6.0/core-ktx-1.6.0.pom
|
https://dl.google.com/dl/android/maven2/androidx/core/core-ktx/1.6.0/core-ktx-1.6.0.pom
|
||||||
|
https://dl.google.com/dl/android/maven2/androidx/core/core-splashscreen/1.0.0/core-splashscreen-1.0.0.pom
|
||||||
https://dl.google.com/dl/android/maven2/androidx/core/core/1.0.0/core-1.0.0.pom
|
https://dl.google.com/dl/android/maven2/androidx/core/core/1.0.0/core-1.0.0.pom
|
||||||
https://dl.google.com/dl/android/maven2/androidx/core/core/1.0.1/core-1.0.1.pom
|
https://dl.google.com/dl/android/maven2/androidx/core/core/1.0.1/core-1.0.1.pom
|
||||||
https://dl.google.com/dl/android/maven2/androidx/core/core/1.1.0/core-1.1.0.pom
|
https://dl.google.com/dl/android/maven2/androidx/core/core/1.1.0/core-1.1.0.pom
|
||||||
@@ -285,8 +286,8 @@ https://dl.google.com/dl/android/maven2/com/google/android/material/material/1.0
|
|||||||
https://dl.google.com/dl/android/maven2/com/google/android/material/material/1.2.0-alpha03/material-1.2.0-alpha03.pom
|
https://dl.google.com/dl/android/maven2/com/google/android/material/material/1.2.0-alpha03/material-1.2.0-alpha03.pom
|
||||||
https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.2/BlurView-version-2.0.2.pom
|
https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.2/BlurView-version-2.0.2.pom
|
||||||
https://jitpack.io/com/github/status-im/function/0.0.1/function-0.0.1.pom
|
https://jitpack.io/com/github/status-im/function/0.0.1/function-0.0.1.pom
|
||||||
https://jitpack.io/com/github/status-im/status-keycard-java/android/3.0.4/android-3.0.4.pom
|
https://jitpack.io/com/github/status-im/status-keycard-java/android/3.1.1/android-3.1.1.pom
|
||||||
https://jitpack.io/com/github/status-im/status-keycard-java/lib/3.0.4/lib-3.0.4.pom
|
https://jitpack.io/com/github/status-im/status-keycard-java/lib/3.1.1/lib-3.1.1.pom
|
||||||
https://jitpack.io/com/github/wix-playground/ahbottomnavigation/3.3.0/ahbottomnavigation-3.3.0.pom
|
https://jitpack.io/com/github/wix-playground/ahbottomnavigation/3.3.0/ahbottomnavigation-3.3.0.pom
|
||||||
https://jitpack.io/com/github/wix-playground/reflow-animator/1.0.6/reflow-animator-1.0.6.pom
|
https://jitpack.io/com/github/wix-playground/reflow-animator/1.0.6/reflow-animator-1.0.6.pom
|
||||||
https://jitpack.io/com/github/yalantis/ucrop/2.2.6-native/ucrop-2.2.6-native.pom
|
https://jitpack.io/com/github/yalantis/ucrop/2.2.6-native/ucrop-2.2.6-native.pom
|
||||||
@@ -503,12 +504,12 @@ https://repo.maven.apache.org/maven2/com/sun/istack/istack-commons-runtime/4.1.1
|
|||||||
https://repo.maven.apache.org/maven2/com/sun/istack/istack-commons/2.21/istack-commons-2.21.pom
|
https://repo.maven.apache.org/maven2/com/sun/istack/istack-commons/2.21/istack-commons-2.21.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/istack/istack-commons/4.1.1/istack-commons-4.1.1.pom
|
https://repo.maven.apache.org/maven2/com/sun/istack/istack-commons/4.1.1/istack-commons-4.1.1.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-bom-ext/2.2.11/jaxb-bom-ext-2.2.11.pom
|
https://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-bom-ext/2.2.11/jaxb-bom-ext-2.2.11.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-bom-ext/4.0.1/jaxb-bom-ext-4.0.1.pom
|
https://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-bom-ext/4.0.2/jaxb-bom-ext-4.0.2.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-parent/2.2.11/jaxb-parent-2.2.11.pom
|
https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-parent/2.2.11/jaxb-parent-2.2.11.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-parent/4.0.1/jaxb-parent-4.0.1.pom
|
https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-parent/4.0.2/jaxb-parent-4.0.2.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom
|
https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-txw-parent/2.2.11/jaxb-txw-parent-2.2.11.pom
|
https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-txw-parent/2.2.11/jaxb-txw-parent-2.2.11.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-txw-parent/4.0.1/jaxb-txw-parent-4.0.1.pom
|
https://repo.maven.apache.org/maven2/com/sun/xml/bind/mvn/jaxb-txw-parent/4.0.2/jaxb-txw-parent-4.0.2.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.13/FastInfoset-1.2.13.pom
|
https://repo.maven.apache.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.13/FastInfoset-1.2.13.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/xml/fastinfoset/FastInfoset/2.1.0/FastInfoset-2.1.0.pom
|
https://repo.maven.apache.org/maven2/com/sun/xml/fastinfoset/FastInfoset/2.1.0/FastInfoset-2.1.0.pom
|
||||||
https://repo.maven.apache.org/maven2/com/sun/xml/fastinfoset/fastinfoset-project/1.2.13/fastinfoset-project-1.2.13.pom
|
https://repo.maven.apache.org/maven2/com/sun/xml/fastinfoset/fastinfoset-project/1.2.13/fastinfoset-project-1.2.13.pom
|
||||||
@@ -561,9 +562,9 @@ https://repo.maven.apache.org/maven2/org/antlr/ST4/4.0.8/ST4-4.0.8.pom
|
|||||||
https://repo.maven.apache.org/maven2/org/antlr/ST4/4.3.4/ST4-4.3.4.pom
|
https://repo.maven.apache.org/maven2/org/antlr/ST4/4.3.4/ST4-4.3.4.pom
|
||||||
https://repo.maven.apache.org/maven2/org/antlr/antlr4-master/4.5.2-1/antlr4-master-4.5.2-1.pom
|
https://repo.maven.apache.org/maven2/org/antlr/antlr4-master/4.5.2-1/antlr4-master-4.5.2-1.pom
|
||||||
https://repo.maven.apache.org/maven2/org/antlr/antlr4-master/4.5.3/antlr4-master-4.5.3.pom
|
https://repo.maven.apache.org/maven2/org/antlr/antlr4-master/4.5.3/antlr4-master-4.5.3.pom
|
||||||
https://repo.maven.apache.org/maven2/org/antlr/antlr4-master/4.11.1/antlr4-master-4.11.1.pom
|
https://repo.maven.apache.org/maven2/org/antlr/antlr4-master/4.12.0/antlr4-master-4.12.0.pom
|
||||||
https://repo.maven.apache.org/maven2/org/antlr/antlr4-runtime/4.5.2-1/antlr4-runtime-4.5.2-1.pom
|
https://repo.maven.apache.org/maven2/org/antlr/antlr4-runtime/4.5.2-1/antlr4-runtime-4.5.2-1.pom
|
||||||
https://repo.maven.apache.org/maven2/org/antlr/antlr4-runtime/4.11.1/antlr4-runtime-4.11.1.pom
|
https://repo.maven.apache.org/maven2/org/antlr/antlr4-runtime/4.12.0/antlr4-runtime-4.12.0.pom
|
||||||
https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom
|
https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom
|
||||||
https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.3/antlr-master-3.3.pom
|
https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.3/antlr-master-3.3.pom
|
||||||
https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.5.2/antlr-master-3.5.2.pom
|
https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.5.2/antlr-master-3.5.2.pom
|
||||||
@@ -636,7 +637,7 @@ https://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15on/1.56/bcprov
|
|||||||
https://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.pom
|
https://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.pom
|
||||||
https://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15on/1.70/bcprov-jdk15on-1.70.pom
|
https://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15on/1.70/bcprov-jdk15on-1.70.pom
|
||||||
https://repo.maven.apache.org/maven2/org/checkerframework/checker-qual/2.5.2/checker-qual-2.5.2.pom
|
https://repo.maven.apache.org/maven2/org/checkerframework/checker-qual/2.5.2/checker-qual-2.5.2.pom
|
||||||
https://repo.maven.apache.org/maven2/org/checkerframework/checker-qual/3.29.0/checker-qual-3.29.0.pom
|
https://repo.maven.apache.org/maven2/org/checkerframework/checker-qual/3.32.0/checker-qual-3.32.0.pom
|
||||||
https://repo.maven.apache.org/maven2/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
|
https://repo.maven.apache.org/maven2/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
|
||||||
https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.pom
|
https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.pom
|
||||||
https://repo.maven.apache.org/maven2/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.pom
|
https://repo.maven.apache.org/maven2/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.pom
|
||||||
@@ -656,16 +657,17 @@ https://repo.maven.apache.org/maven2/org/easymock/easymock/5.1.0/easymock-5.1.0.
|
|||||||
https://repo.maven.apache.org/maven2/org/eclipse/angus/angus-activation-project/2.0.0/angus-activation-project-2.0.0.pom
|
https://repo.maven.apache.org/maven2/org/eclipse/angus/angus-activation-project/2.0.0/angus-activation-project-2.0.0.pom
|
||||||
https://repo.maven.apache.org/maven2/org/eclipse/angus/angus-activation/2.0.0/angus-activation-2.0.0.pom
|
https://repo.maven.apache.org/maven2/org/eclipse/angus/angus-activation/2.0.0/angus-activation-2.0.0.pom
|
||||||
https://repo.maven.apache.org/maven2/org/eclipse/ee4j/project/1.0.7/project-1.0.7.pom
|
https://repo.maven.apache.org/maven2/org/eclipse/ee4j/project/1.0.7/project-1.0.7.pom
|
||||||
|
https://repo.maven.apache.org/maven2/org/eclipse/ee4j/project/1.0.8/project-1.0.8.pom
|
||||||
https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.4.2/ecj-4.4.2.pom
|
https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.4.2/ecj-4.4.2.pom
|
||||||
https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.4/ecj-4.4.pom
|
https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.4/ecj-4.4.pom
|
||||||
https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.pom
|
https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.pom
|
||||||
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-bom/2.2.11/jaxb-bom-2.2.11.pom
|
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-bom/2.2.11/jaxb-bom-2.2.11.pom
|
||||||
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-bom/4.0.1/jaxb-bom-4.0.1.pom
|
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-bom/4.0.2/jaxb-bom-4.0.2.pom
|
||||||
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.pom
|
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.pom
|
||||||
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-core/4.0.1/jaxb-core-4.0.1.pom
|
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-core/4.0.2/jaxb-core-4.0.2.pom
|
||||||
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom
|
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom
|
||||||
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/txw2/2.2.11/txw2-2.2.11.pom
|
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/txw2/2.2.11/txw2-2.2.11.pom
|
||||||
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/txw2/4.0.1/txw2-4.0.1.pom
|
https://repo.maven.apache.org/maven2/org/glassfish/jaxb/txw2/4.0.2/txw2-4.0.2.pom
|
||||||
https://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.pom
|
https://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.pom
|
||||||
https://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/2.2/hamcrest-core-2.2.pom
|
https://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/2.2/hamcrest-core-2.2.pom
|
||||||
https://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-parent/1.3/hamcrest-parent-1.3.pom
|
https://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-parent/1.3/hamcrest-parent-1.3.pom
|
||||||
@@ -732,6 +734,7 @@ https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1
|
|||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.5.10/kotlin-stdlib-common-1.5.10.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.5.10/kotlin-stdlib-common-1.5.10.pom
|
||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.5.30/kotlin-stdlib-common-1.5.30.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.5.30/kotlin-stdlib-common-1.5.30.pom
|
||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.6.20/kotlin-stdlib-common-1.6.20.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.6.20/kotlin-stdlib-common-1.6.20.pom
|
||||||
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.6.21/kotlin-stdlib-common-1.6.21.pom
|
||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.7.10/kotlin-stdlib-common-1.7.10.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.7.10/kotlin-stdlib-common-1.7.10.pom
|
||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.8.0/kotlin-stdlib-common-1.8.0.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.8.0/kotlin-stdlib-common-1.8.0.pom
|
||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.2.71/kotlin-stdlib-jdk7-1.2.71.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.2.71/kotlin-stdlib-jdk7-1.2.71.pom
|
||||||
@@ -762,6 +765,7 @@ https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.4.31/k
|
|||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.5.10/kotlin-stdlib-1.5.10.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.5.10/kotlin-stdlib-1.5.10.pom
|
||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.5.30/kotlin-stdlib-1.5.30.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.5.30/kotlin-stdlib-1.5.30.pom
|
||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.6.20/kotlin-stdlib-1.6.20.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.6.20/kotlin-stdlib-1.6.20.pom
|
||||||
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.6.21/kotlin-stdlib-1.6.21.pom
|
||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.7.10/kotlin-stdlib-1.7.10.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.7.10/kotlin-stdlib-1.7.10.pom
|
||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.8.0/kotlin-stdlib-1.8.0.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.8.0/kotlin-stdlib-1.8.0.pom
|
||||||
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-util-io/1.3.50/kotlin-util-io-1.3.50.pom
|
https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-util-io/1.3.50/kotlin-util-io-1.3.50.pom
|
||||||
|
|||||||
@@ -1,18 +1,16 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Stop on any failures, including in pipes
|
# This script takes care of generating/updating the maven-sources.nix file
|
||||||
set -e
|
# representing the offline Maven repo containing the dependencies
|
||||||
set -o pipefail
|
# required to build the project
|
||||||
|
|
||||||
|
set -Eeo pipefail
|
||||||
|
|
||||||
if [[ -z "${IN_NIX_SHELL}" ]]; then
|
if [[ -z "${IN_NIX_SHELL}" ]]; then
|
||||||
echo "Remember to call 'make shell'!"
|
echo "Remember to call 'make shell'!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# This script takes care of generating/updating the maven-sources.nix file
|
|
||||||
# representing the offline Maven repo containing the dependencies
|
|
||||||
# required to build the project
|
|
||||||
|
|
||||||
GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
|
GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
|
||||||
source "${GIT_ROOT}/scripts/colors.sh"
|
source "${GIT_ROOT}/scripts/colors.sh"
|
||||||
|
|
||||||
@@ -27,41 +25,43 @@ ulimit -n 16384
|
|||||||
|
|
||||||
# Generate list of Gradle sub-projects.
|
# Generate list of Gradle sub-projects.
|
||||||
function gen_proj_list() {
|
function gen_proj_list() {
|
||||||
${CUR_DIR}/get_projects.sh | sort -u -o ${PROJ_LIST}
|
"${CUR_DIR}/get_projects.sh" | sort -u -o "${PROJ_LIST}"
|
||||||
echo -e "Found ${GRN}$(wc -l < ${PROJ_LIST})${RST} sub-projects..."
|
echo -e "Found ${GRN}$(wc -l < "${PROJ_LIST}")${RST} sub-projects..."
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check each sub-project in parallel, the ":" is for local deps.
|
# Check each sub-project in parallel, the ":" is for local deps.
|
||||||
function gen_deps_list() {
|
function gen_deps_list() {
|
||||||
PROJECTS=$(cat ${PROJ_LIST})
|
PROJECTS=$(cat "${PROJ_LIST}")
|
||||||
${CUR_DIR}/get_deps.sh ":" ${PROJECTS[@]} | sort -uV -o ${DEPS_LIST}
|
# WARNING: The ${PROJECTS[@]} needs to remain unquoted to expand correctly.
|
||||||
echo -e "${CLR}Found ${GRN}$(wc -l < ${DEPS_LIST})${RST} direct dependencies..."
|
# shellcheck disable=SC2068
|
||||||
|
"${CUR_DIR}/get_deps.sh" ":" ${PROJECTS[@]} | sort -uV -o "${DEPS_LIST}"
|
||||||
|
echo -e "${CLR}Found ${GRN}$(wc -l < "${DEPS_LIST}")${RST} direct dependencies..."
|
||||||
}
|
}
|
||||||
|
|
||||||
# Find download URLs for each dependency.
|
# Find download URLs for each dependency.
|
||||||
function gen_deps_urls() {
|
function gen_deps_urls() {
|
||||||
cat ${DEPS_LIST} | go-maven-resolver | sort -uV -o ${DEPS_URLS}
|
go-maven-resolver < "${DEPS_LIST}" | sort -uV -o "${DEPS_URLS}"
|
||||||
echo -e "${CLR}Found ${GRN}$(wc -l < ${DEPS_URLS})${RST} dependency URLs..."
|
echo -e "${CLR}Found ${GRN}$(wc -l < "${DEPS_URLS}")${RST} dependency URLs..."
|
||||||
}
|
}
|
||||||
|
|
||||||
# Generate the JSON that Nix will consume.
|
# Generate the JSON that Nix will consume.
|
||||||
function gen_deps_json() {
|
function gen_deps_json() {
|
||||||
# Open the Nix attribute set.
|
# Open the Nix attribute set.
|
||||||
echo -n "[" > ${DEPS_JSON}
|
echo -n "[" > "${DEPS_JSON}"
|
||||||
|
|
||||||
# Format URLs into a Nix consumable file.
|
# Format URLs into a Nix consumable file.
|
||||||
URLS=$(cat ${DEPS_URLS})
|
URLS=$(cat "${DEPS_URLS}")
|
||||||
# Avoid rate limiting by using 4 of the available threads.
|
# Avoid rate limiting by using 4 of the available threads.
|
||||||
parallel --will-cite --keep-order --jobs 4 \
|
parallel --will-cite --keep-order --jobs 4 \
|
||||||
"${CUR_DIR}/url2json.sh" \
|
"${CUR_DIR}/url2json.sh" \
|
||||||
::: ${URLS} \
|
::: "${URLS}" \
|
||||||
>> ${DEPS_JSON}
|
>> "${DEPS_JSON}"
|
||||||
|
|
||||||
# Drop tailing comma on last object, stupid JSON
|
# Drop tailing comma on last object, stupid JSON
|
||||||
sed -i '$ s/},/}/' ${DEPS_JSON}
|
sed -i '$ s/},/}/' "${DEPS_JSON}"
|
||||||
|
|
||||||
# Close the Nix attribute set
|
# Close the Nix attribute set
|
||||||
echo "]" >> ${DEPS_JSON}
|
echo "]" >> "${DEPS_JSON}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
@@ -74,7 +74,7 @@ cd "${GIT_ROOT}/android"
|
|||||||
./gradlew --stop >/dev/null
|
./gradlew --stop >/dev/null
|
||||||
|
|
||||||
# A way to run a specific stage of generation
|
# A way to run a specific stage of generation
|
||||||
if [[ -n "${1}" ]] && type ${1} > /dev/null; then
|
if [[ -n "${1}" ]] && type "${1}" > /dev/null; then
|
||||||
${1}; exit 0
|
${1}; exit 0
|
||||||
elif [[ -n "${1}" ]]; then
|
elif [[ -n "${1}" ]]; then
|
||||||
echo "No such function: ${1}"; exit 1
|
echo "No such function: ${1}"; exit 1
|
||||||
@@ -86,6 +86,6 @@ gen_deps_list
|
|||||||
gen_deps_urls
|
gen_deps_urls
|
||||||
gen_deps_json
|
gen_deps_json
|
||||||
|
|
||||||
REL_DEPS_JSON=$(realpath --relative-to=${PWD} ${DEPS_JSON})
|
REL_DEPS_JSON=$(realpath --relative-to="${PWD}" "${DEPS_JSON}")
|
||||||
echo -e "${CLR}Generated Nix deps file: ${REL_DEPS_JSON#../}"
|
echo -e "${CLR}Generated Nix deps file: ${REL_DEPS_JSON#../}"
|
||||||
echo -e "${GRN}Done${RST}"
|
echo -e "${GRN}Done${RST}"
|
||||||
|
|||||||
@@ -1,12 +1,19 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -Eeu
|
# This script generates a list of dependencies for the main project and its
|
||||||
|
# sub-projects defined using Gradle config files. It parses Gradle output of
|
||||||
|
# 'dependencies' and 'buildEnvironment` tasks using AWK.
|
||||||
|
|
||||||
|
set -Eeuo pipefail
|
||||||
|
|
||||||
GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
|
GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
|
||||||
# Gradle needs to be run in 'android' subfolder
|
# Gradle needs to be run in 'android' subfolder.
|
||||||
cd "${GIT_ROOT}/android"
|
cd "${GIT_ROOT}/android"
|
||||||
|
|
||||||
AWK_SCRIPT="${GIT_ROOT}/nix/deps/gradle/gradle_parser.awk"
|
# Show Gradle log in case of failure.
|
||||||
|
GRADLE_LOG_FILE='/tmp/gradle.log'
|
||||||
|
function show_gradle_log() { cat "${GRADLE_LOG_FILE}" >&2; }
|
||||||
|
trap show_gradle_log ERR
|
||||||
|
|
||||||
# Run the gradle command for a project:
|
# Run the gradle command for a project:
|
||||||
# - ':buildEnvironment' to get build tools
|
# - ':buildEnvironment' to get build tools
|
||||||
@@ -20,16 +27,11 @@ for i in "${!DEPS[@]}"; do
|
|||||||
NORMAL_DEPS[${i}]="${DEPS[${i}]}:dependencies"
|
NORMAL_DEPS[${i}]="${DEPS[${i}]}:dependencies"
|
||||||
done
|
done
|
||||||
|
|
||||||
# And clean up the output by:
|
# And clean up the output using AWK script.
|
||||||
# - keep only lines that start with \--- or +---
|
AWK_SCRIPT="${GIT_ROOT}/nix/deps/gradle/gradle_parser.awk"
|
||||||
# - drop lines that end with (*) or (n) but don't start with (+)
|
|
||||||
# - drop lines that refer to a project
|
|
||||||
# - drop entries starting with `status-im:` like `status-go`
|
|
||||||
# - drop entries that aren't just the name of the dependency
|
|
||||||
# - extract the package name and version, ignoring version range indications,
|
|
||||||
# such as in `com.google.android.gms:play-services-ads:[15.0.1,16.0.0) -> 15.0.1`
|
|
||||||
|
|
||||||
./gradlew --no-daemon --console plain \
|
./gradlew --no-daemon --console plain \
|
||||||
"${BUILD_DEPS[@]}" \
|
"${BUILD_DEPS[@]}" \
|
||||||
"${NORMAL_DEPS[@]}" \
|
"${NORMAL_DEPS[@]}" \
|
||||||
| awk -f ${AWK_SCRIPT}
|
| tee "${GRADLE_LOG_FILE}" \
|
||||||
|
| awk -f "${AWK_SCRIPT}"
|
||||||
|
|||||||
@@ -1,12 +1,22 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -Eeu
|
# This script generates a list of Gradle sub-projects by parsing the output
|
||||||
|
# of Gradle 'projects' task using grep and sed. It is necessary in order to
|
||||||
|
# collect list of dependencies for main project and its sub-projects.
|
||||||
|
|
||||||
|
set -Eeuo pipefail
|
||||||
|
|
||||||
GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
|
GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
|
||||||
# Gradle needs to be run in 'android' subfolder
|
# Gradle needs to be run in 'android' subfolder.
|
||||||
cd "${GIT_ROOT}/android"
|
cd "${GIT_ROOT}/android"
|
||||||
|
|
||||||
|
# Show Gradle log in case of failure.
|
||||||
|
GRADLE_LOG_FILE='/tmp/gradle.log'
|
||||||
|
function show_gradle_log() { cat "${GRADLE_LOG_FILE}" >&2; }
|
||||||
|
trap show_gradle_log ERR
|
||||||
|
|
||||||
# Print all our sub-projects
|
# Print all our sub-projects
|
||||||
./gradlew projects --no-daemon --console plain 2>&1 \
|
./gradlew projects --no-daemon --console plain 2>&1 \
|
||||||
|
| tee "${GRADLE_LOG_FILE}" \
|
||||||
| grep "Project ':" \
|
| grep "Project ':" \
|
||||||
| sed -E "s;^.--- Project '\:([@_a-zA-Z0-9\-]+)';\1;"
|
| sed -E "s;^.--- Project '\:([@_a-zA-Z0-9\-]+)';\1;"
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ react-native-lottie-splash-screen
|
|||||||
react-native-mail
|
react-native-mail
|
||||||
react-native-navigation
|
react-native-navigation
|
||||||
react-native-nfc-manager
|
react-native-nfc-manager
|
||||||
|
react-native-orientation-locker
|
||||||
react-native-permissions
|
react-native-permissions
|
||||||
react-native-randombytes
|
react-native-randombytes
|
||||||
react-native-reanimated
|
react-native-reanimated
|
||||||
|
|||||||
@@ -6,8 +6,6 @@
|
|||||||
# a local Maven repository.
|
# a local Maven repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
CUR_DIR=$(cd "${BASH_SOURCE%/*}" && pwd)
|
|
||||||
|
|
||||||
# This defines URLs of Maven repos we know about and use.
|
# This defines URLs of Maven repos we know about and use.
|
||||||
declare -a REPOS=(
|
declare -a REPOS=(
|
||||||
"https://repo.maven.apache.org/maven2"
|
"https://repo.maven.apache.org/maven2"
|
||||||
@@ -36,84 +34,88 @@ function match_repo_url() {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function pom_has_nodeps_jar() {
|
||||||
|
grep '<shadedClassifierName>nodeps</shadedClassifierName>' "${1}" \
|
||||||
|
>/dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
|
function fetch_and_template_file() {
|
||||||
|
local FILENAME="${1}"
|
||||||
|
local OBJ_URL OBJ_NIX_FETCH_OUT OBJ_NAME OBJ_PATH
|
||||||
|
|
||||||
|
OBJ_URL="${REPO_URL}/${PKG_PATH}/${FILENAME}"
|
||||||
|
if ! OBJ_NIX_FETCH_OUT=$(nix_fetch "${OBJ_URL}"); then
|
||||||
|
echo " ! Failed to fetch: ${OBJ_URL}" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
OBJ_NAME="${FILENAME}"
|
||||||
|
OBJ_PATH=$(get_nix_path "${OBJ_NIX_FETCH_OUT}")
|
||||||
|
echo -n ",
|
||||||
|
\"${OBJ_NAME}\": {
|
||||||
|
\"sha1\": \"$(get_sha1 "${OBJ_PATH}")\",
|
||||||
|
\"sha256\": \"$(get_nix_sha "${OBJ_NIX_FETCH_OUT}")\"
|
||||||
|
}"
|
||||||
|
}
|
||||||
|
|
||||||
if [[ -z "${1}" ]]; then
|
if [[ -z "${1}" ]]; then
|
||||||
echo "Required argument not given!" >&2
|
echo "Required POM URL argument not given!" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
POM_URL=${1}
|
POM_URL=${1}
|
||||||
# Drop the POM extension
|
# Drop the POM extension.
|
||||||
OBJ_REL_URL=${POM_URL%.pom}
|
PKG_URL_NO_EXT="${POM_URL%.pom}"
|
||||||
|
# Name of package without extension.
|
||||||
|
PKG_NAME="$(basename "${PKG_URL_NO_EXT}")"
|
||||||
|
|
||||||
echo -en "${CLR} - Nix entry for: ${1##*/}\r" >&2
|
echo -en "${CLR} - Nix entry for: ${1##*/}\r" >&2
|
||||||
|
|
||||||
REPO_URL=$(match_repo_url "${OBJ_REL_URL}")
|
REPO_URL=$(match_repo_url "${PKG_URL_NO_EXT}")
|
||||||
|
|
||||||
if [[ -z "${REPO_URL}" ]]; then
|
if [[ -z "${REPO_URL}" ]]; then
|
||||||
echo "\r\n ? REPO_URL: ${REPO_URL}" >&2
|
echo " ! Repo URL not found: %s" "${REPO_URL}" >&2
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
# Get the relative path without full URL
|
# Get the relative path without full URL
|
||||||
OBJ_REL_NAME="${OBJ_REL_URL#${REPO_URL}/}"
|
PKG_PATH="${PKG_URL_NO_EXT#"${REPO_URL}/"}"
|
||||||
|
PKG_PATH="$(dirname "${PKG_PATH}")"
|
||||||
|
|
||||||
# Both JARs and AARs have a POM
|
# Both JARs and AARs have a POM
|
||||||
POM_NIX_FETCH_OUT=$(nix_fetch "${OBJ_REL_URL}.pom")
|
POM_NIX_FETCH_OUT=$(nix_fetch "${PKG_URL_NO_EXT}.pom")
|
||||||
POM_PATH=$(get_nix_path "${POM_NIX_FETCH_OUT}")
|
POM_PATH=$(get_nix_path "${POM_NIX_FETCH_OUT}")
|
||||||
|
POM_NAME=$(basename "${PKG_URL_NO_EXT}.pom")
|
||||||
if [[ -z "${POM_PATH}" ]]; then
|
if [[ -z "${POM_PATH}" ]]; then
|
||||||
echo " ! Failed to fetch: ${OBJ_REL_URL}.pom" >&2
|
echo " ! Failed to fetch: ${PKG_URL_NO_EXT}.pom" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
POM_SHA256=$(get_nix_sha "${POM_NIX_FETCH_OUT}")
|
POM_SHA256=$(get_nix_sha "${POM_NIX_FETCH_OUT}")
|
||||||
POM_SHA1=$(get_sha1 "${POM_PATH}")
|
POM_SHA1=$(get_sha1 "${POM_PATH}")
|
||||||
|
|
||||||
# Identify packaging type, JAR, AAR, or just POM.
|
# Identify packaging type, JAR, AAR, bundle, or just POM.
|
||||||
OBJ_TYPE_RAW=$(grep -oP '<packaging>\K[^<]+' "${POM_PATH}")
|
OBJ_TYPE=$(grep -oP '<packaging>\K[^<]+' "${POM_PATH}")
|
||||||
# Bundle is a JAR made using maven-bundle-plugin.
|
|
||||||
case "${OBJ_TYPE_RAW}" in
|
|
||||||
''|'bundle') OBJ_TYPE=jar;;
|
|
||||||
'aar.asc') OBJ_TYPE=aar;;
|
|
||||||
*) OBJ_TYPE="${OBJ_TYPE_RAW}"
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Some deps are Eclipse plugins, and we don't need those.
|
# Some deps are Eclipse plugins, and we don't need those.
|
||||||
if [[ "${OBJ_TYPE}" == "eclipse-plugin" ]]; then
|
if [[ "${OBJ_TYPE}" == "eclipse-plugin" ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Some deps are just POMs, in which case there is no JAR to fetch.
|
|
||||||
if [[ "${OBJ_TYPE}" != "pom" ]]; then
|
|
||||||
OBJ_NIX_FETCH_OUT=$(nix_fetch "${OBJ_REL_URL}.${OBJ_TYPE}")
|
|
||||||
# If type was a JAR or other, not getting one is an error.
|
|
||||||
if [[ ${?} -ne 0 ]]; then
|
|
||||||
# POMs without packaging type defined can still include JARs.
|
|
||||||
if [[ "${OBJ_TYPE_RAW}" != "" ]]; then
|
|
||||||
echo " ! Failed to fetch: ${OBJ_REL_URL}.${OBJ_TYPE}" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
OBJ_PATH=$(get_nix_path "${OBJ_NIX_FETCH_OUT}")
|
|
||||||
OBJ_SHA256=$(get_nix_sha "${OBJ_NIX_FETCH_OUT}")
|
|
||||||
OBJ_SHA1=$(get_sha1 "${OBJ_PATH}")
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Format into a Nix attrset entry
|
# Format into a Nix attrset entry
|
||||||
echo -ne "
|
echo -ne "
|
||||||
{
|
{
|
||||||
\"path\": \"${OBJ_REL_NAME}\",
|
\"path\": \"${PKG_PATH}\",
|
||||||
\"host\": \"${REPO_URL}\",
|
\"repo\": \"${REPO_URL}\",
|
||||||
\"type\": \"${OBJ_TYPE}\","
|
\"files\": {
|
||||||
if [[ -n "${POM_SHA256}" ]]; then
|
\"${POM_NAME}\": {
|
||||||
echo -n "
|
\"sha1\": \"${POM_SHA1}\",
|
||||||
\"pom\": {
|
\"sha256\": \"${POM_SHA256}\"
|
||||||
\"sha1\": \"${POM_SHA1}\",
|
}"
|
||||||
\"sha256\": \"${POM_SHA256}\"
|
|
||||||
}";[[ -n "${OBJ_SHA256}" ]] && echo -n ","
|
# Some deps are just POMs, in which case there is no JAR to fetch.
|
||||||
fi
|
[[ "${OBJ_TYPE}" == "" ]] && fetch_and_template_file "${PKG_NAME}.jar"
|
||||||
if [[ -n "${OBJ_SHA256}" ]]; then
|
[[ "${OBJ_TYPE}" == "jar" ]] && fetch_and_template_file "${PKG_NAME}.jar"
|
||||||
echo -n "
|
[[ "${OBJ_TYPE}" == "bundle" ]] && fetch_and_template_file "${PKG_NAME}.jar"
|
||||||
\"jar\": {
|
[[ "${OBJ_TYPE}" =~ aar* ]] && fetch_and_template_file "${PKG_NAME}.aar"
|
||||||
\"sha1\": \"${OBJ_SHA1}\",
|
[[ "${OBJ_TYPE}" == "aar.asc" ]] && fetch_and_template_file "${PKG_NAME}.${OBJ_TYPE}"
|
||||||
\"sha256\": \"${OBJ_SHA256}\"
|
pom_has_nodeps_jar "${POM_PATH}" && fetch_and_template_file "${PKG_NAME}-nodeps.jar"
|
||||||
}"
|
|
||||||
fi
|
echo -e '\n }\n },'
|
||||||
echo -e "\n },"
|
|
||||||
|
|||||||
@@ -29,7 +29,14 @@ stdenv.mkDerivation {
|
|||||||
# maven and google central repositories with our own local directories.
|
# maven and google central repositories with our own local directories.
|
||||||
# This prevents the builder from downloading Maven artifacts
|
# This prevents the builder from downloading Maven artifacts
|
||||||
patchGradlePhase = ''
|
patchGradlePhase = ''
|
||||||
for modBuildGradle in $(find -L ./node_modules -name build.gradle); do
|
gradleConfigs=$(
|
||||||
|
find -L ./node_modules \
|
||||||
|
-name build.gradle -or \
|
||||||
|
-name build.gradle.kts -or \
|
||||||
|
-name settings.gradle -or \
|
||||||
|
-name settings.gradle.kts
|
||||||
|
)
|
||||||
|
for modBuildGradle in $gradleConfigs; do
|
||||||
relativeToNode=''${modBuildGradle#*node_modules/}
|
relativeToNode=''${modBuildGradle#*node_modules/}
|
||||||
moduleName=''${relativeToNode%%/*}
|
moduleName=''${relativeToNode%%/*}
|
||||||
if [[ -L ./node_modules/$moduleName ]]; then
|
if [[ -L ./node_modules/$moduleName ]]; then
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# WARNING: Executes shellHook in reverse order.
|
# WARNING: Executes shellHook in reverse order.
|
||||||
|
# WARNING: Only some variables are merged.
|
||||||
inputsFrom = [
|
inputsFrom = [
|
||||||
fastlane.shell
|
fastlane.shell
|
||||||
cocoapods-sh
|
cocoapods-sh
|
||||||
|
|||||||
@@ -1,8 +1,14 @@
|
|||||||
{ mkShell, deps }:
|
{ mkShell, nodejs, deps }:
|
||||||
|
|
||||||
mkShell {
|
mkShell {
|
||||||
# check if node modules changed and if so install them
|
# Check if node modules changed and if so install them.
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
# Fix for ERR_OSSL_EVP_UNSUPPORTED error.
|
||||||
|
export NODE_OPTIONS="--openssl-legacy-provider";
|
||||||
|
|
||||||
|
# Fix Xcode using system Node.js version.
|
||||||
|
export NODE_BINARY="${nodejs}/bin/node";
|
||||||
|
|
||||||
export STATUS_MOBILE_HOME=$(git rev-parse --show-toplevel)
|
export STATUS_MOBILE_HOME=$(git rev-parse --show-toplevel)
|
||||||
"$STATUS_MOBILE_HOME/nix/scripts/node_modules.sh" ${deps.nodejs-patched}
|
"$STATUS_MOBILE_HOME/nix/scripts/node_modules.sh" ${deps.nodejs-patched}
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -32,6 +32,18 @@ in {
|
|||||||
# For parsing gradle.properties into an attrset
|
# For parsing gradle.properties into an attrset
|
||||||
gradlePropParser = callPackage ./tools/gradlePropParser.nix { };
|
gradlePropParser = callPackage ./tools/gradlePropParser.nix { };
|
||||||
|
|
||||||
|
# Clojure formatting tool
|
||||||
|
zprint = super.zprint.override rec {
|
||||||
|
buildGraalvmNativeImage = args: super.buildGraalvmNativeImage ( args // rec {
|
||||||
|
inherit (args) pname;
|
||||||
|
version = "1.2.5";
|
||||||
|
src = self.fetchurl {
|
||||||
|
url = "https://github.com/kkinnear/${pname}/releases/download/${version}/${pname}-filter-${version}";
|
||||||
|
sha256 = "sha256-PWdR5jqyzvTk9HoxqDldwtZNik34dmebBtZZ5vtva4A=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
# Package version adjustments
|
# Package version adjustments
|
||||||
gradle = super.gradle_5;
|
gradle = super.gradle_5;
|
||||||
nodejs = super.nodejs-16_x;
|
nodejs = super.nodejs-16_x;
|
||||||
|
|||||||
@@ -11,10 +11,10 @@ let
|
|||||||
# We follow the master branch of official nixpkgs.
|
# We follow the master branch of official nixpkgs.
|
||||||
nixpkgsSrc = fetchFromGitHub {
|
nixpkgsSrc = fetchFromGitHub {
|
||||||
name = "nixpkgs-source";
|
name = "nixpkgs-source";
|
||||||
owner = "NixOS";
|
owner = "status-im"; # FIXME: Fork used to get Cocoapods 1.12.0.
|
||||||
repo = "nixpkgs";
|
repo = "nixpkgs";
|
||||||
rev = "579238da5f431b7833a9f0681663900aaf0dd1e8";
|
rev = "b9b2ed705edc00003d47625950602136be3e1ed5";
|
||||||
sha256 = "sha256-cDwASlAf/h0fsHtDm9yNBHEHK0uq6do+mIUEgh1i5yg=";
|
sha256 = "sha256-F0qOawdKx7kgiGqwVikYIawL2taJ1XfcgHy0Wn0mho8=";
|
||||||
# To get the compressed Nix sha256, use:
|
# To get the compressed Nix sha256, use:
|
||||||
# nix-prefetch-url --unpack https://github.com/${ORG}/nixpkgs/archive/${REV}.tar.gz
|
# nix-prefetch-url --unpack https://github.com/${ORG}/nixpkgs/archive/${REV}.tar.gz
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -16,7 +16,8 @@ writeScript "patch-maven-srcs" (''
|
|||||||
gradleFile="$1"
|
gradleFile="$1"
|
||||||
|
|
||||||
# Some of those find something, some don't, that's fine.
|
# Some of those find something, some don't, that's fine.
|
||||||
patchMavenSource "$gradleFile" 'mavenCentral()' 'mavenLocal()'
|
patchMavenSource "$gradleFile" 'mavenCentral()' 'mavenLocal()'
|
||||||
patchMavenSource "$gradleFile" 'google()' 'mavenLocal()'
|
patchMavenSource "$gradleFile" 'google()' 'mavenLocal()'
|
||||||
patchMavenSource "$gradleFile" 'jcenter()' 'mavenLocal()'
|
patchMavenSource "$gradleFile" 'jcenter()' 'mavenLocal()'
|
||||||
|
patchMavenSource "$gradleFile" 'gradlePluginPortal()' 'mavenLocal()'
|
||||||
'')
|
'')
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ in mkShell {
|
|||||||
|
|
||||||
buildInputs = with pkgs; lib.unique ([
|
buildInputs = with pkgs; lib.unique ([
|
||||||
# core utilities that should always be present in a shell
|
# core utilities that should always be present in a shell
|
||||||
bash curl wget file unzip flock
|
bash curl wget file unzip flock procps
|
||||||
git gnumake jq ncurses gnugrep parallel
|
git gnumake jq ncurses gnugrep parallel
|
||||||
lsof # used in start-react-native.sh
|
lsof # used in start-react-native.sh
|
||||||
# build specific utilities
|
# build specific utilities
|
||||||
@@ -22,7 +22,7 @@ in mkShell {
|
|||||||
# other nice to have stuff
|
# other nice to have stuff
|
||||||
yarn nodejs python27
|
yarn nodejs python27
|
||||||
] # and some special cases
|
] # and some special cases
|
||||||
++ lib.optionals stdenv.isDarwin [ cocoapods clang ]
|
++ lib.optionals stdenv.isDarwin [ cocoapods clang tcl ]
|
||||||
++ lib.optionals (!stdenv.isDarwin) [ gcc8 ]
|
++ lib.optionals (!stdenv.isDarwin) [ gcc8 ]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
"@babel/preset-typescript": "^7.17.12",
|
"@babel/preset-typescript": "^7.17.12",
|
||||||
"@react-native-async-storage/async-storage": "^1.17.9",
|
"@react-native-async-storage/async-storage": "^1.17.9",
|
||||||
"@react-native-community/audio-toolkit": "git+https://github.com/tbenr/react-native-audio-toolkit.git#refs/tags/v2.0.3-status-v6",
|
"@react-native-community/audio-toolkit": "git+https://github.com/tbenr/react-native-audio-toolkit.git#refs/tags/v2.0.3-status-v6",
|
||||||
"@react-native-community/blur": "git+https://github.com/status-im/react-native-blur#refs/tags/v4.3.0-status",
|
"@react-native-community/blur": "git+https://github.com/status-im/react-native-blur#refs/tags/v4.3.1-status",
|
||||||
"@react-native-community/cameraroll": "git+https://github.com/status-im/react-native-cameraroll.git#refs/tags/v4.0.4-status.0",
|
"@react-native-community/cameraroll": "git+https://github.com/status-im/react-native-cameraroll.git#refs/tags/v4.0.4-status.0",
|
||||||
"@react-native-community/clipboard": "^1.2.2",
|
"@react-native-community/clipboard": "^1.2.2",
|
||||||
"@react-native-community/hooks": "^2.5.1",
|
"@react-native-community/hooks": "^2.5.1",
|
||||||
@@ -28,7 +28,6 @@
|
|||||||
"@react-native-community/push-notification-ios": "^1.4.1",
|
"@react-native-community/push-notification-ios": "^1.4.1",
|
||||||
"@react-native-community/slider": "^3.0.0",
|
"@react-native-community/slider": "^3.0.0",
|
||||||
"@walletconnect/client": "^2.0.0-beta.23",
|
"@walletconnect/client": "^2.0.0-beta.23",
|
||||||
"@walletconnect/client-legacy": "npm:@walletconnect/client@^1.7.1",
|
|
||||||
"bignumber.js": "git+https://github.com/status-im/bignumber.js.git#refs/tags/v4.0.2-status",
|
"bignumber.js": "git+https://github.com/status-im/bignumber.js.git#refs/tags/v4.0.2-status",
|
||||||
"chance": "^1.1.0",
|
"chance": "^1.1.0",
|
||||||
"create-react-class": "^15.6.2",
|
"create-react-class": "^15.6.2",
|
||||||
@@ -62,6 +61,7 @@
|
|||||||
"react-native-lottie-splash-screen": "^1.0.1",
|
"react-native-lottie-splash-screen": "^1.0.1",
|
||||||
"react-native-mail": "^6.1.1",
|
"react-native-mail": "^6.1.1",
|
||||||
"react-native-navigation": "^7.27.1",
|
"react-native-navigation": "^7.27.1",
|
||||||
|
"react-native-orientation-locker": "^1.5.0",
|
||||||
"react-native-permissions": "^2.1.5",
|
"react-native-permissions": "^2.1.5",
|
||||||
"react-native-randombytes": "^3.6.1",
|
"react-native-randombytes": "^3.6.1",
|
||||||
"react-native-reanimated": "2.3.3",
|
"react-native-reanimated": "2.3.3",
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
"react-native-safe-area-context": "^2.0.0",
|
"react-native-safe-area-context": "^2.0.0",
|
||||||
"react-native-shake": "^3.3.1",
|
"react-native-shake": "^3.3.1",
|
||||||
"react-native-share": "^7.0.1",
|
"react-native-share": "^7.0.1",
|
||||||
"react-native-status-keycard": "git+https://github.com/status-im/react-native-status-keycard.git#refs/tags/v2.5.38",
|
"react-native-status-keycard": "git+https://github.com/status-im/react-native-status-keycard.git#refs/tags/v2.5.39",
|
||||||
"react-native-svg": "^9.8.4",
|
"react-native-svg": "^9.8.4",
|
||||||
"react-native-touch-id": "^4.4.1",
|
"react-native-touch-id": "^4.4.1",
|
||||||
"react-native-webview": "git+https://github.com/status-im/react-native-webview.git#refs/tags/v11.16.0-status",
|
"react-native-webview": "git+https://github.com/status-im/react-native-webview.git#refs/tags/v11.16.0-status",
|
||||||
|
|||||||
|
After Width: | Height: | Size: 898 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 591 B |
|
After Width: | Height: | Size: 884 B |
|
After Width: | Height: | Size: 864 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 946 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 927 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 768 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 989 B |
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 539 KiB After Width: | Height: | Size: 539 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |