Skip to content

Commit

Permalink
Revert "71 release testing improvements (#72)"
Browse files Browse the repository at this point in the history
This reverts commit 2a8fda9.
  • Loading branch information
2byrds committed Jun 30, 2022
1 parent a4399de commit b6ca437
Show file tree
Hide file tree
Showing 61 changed files with 1,210 additions and 3,558 deletions.
50 changes: 0 additions & 50 deletions CONTRIBUTING

This file was deleted.

17 changes: 0 additions & 17 deletions PRIVACY_POLICY.md

This file was deleted.

5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ www.rootswallet.com

## Wiki
https://github.com/roots-id/rootswallet/wiki

## Developers
### Releasing
#### Android
See https://reactnative.dev/docs/signed-apk-android
12 changes: 1 addition & 11 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,6 @@ android {
keyAlias 'androiddebugkey'
keyPassword 'android'
}
release {
signingConfigs {
if (project.hasProperty('ROOTSWALLET_UPLOAD_STORE_FILE')) {
storeFile file(ROOTSWALLET_UPLOAD_STORE_FILE)
storePassword ROOTSWALLET_UPLOAD_STORE_PASSWORD
keyAlias ROOTSWALLET_UPLOAD_KEY_ALIAS
keyPassword ROOTSWALLET_UPLOAD_KEY_PASSWORD
}
}
}
}
buildTypes {
debug {
Expand All @@ -172,7 +162,7 @@ android {
release {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.release
signingConfig signingConfigs.debug
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
Expand Down
Binary file removed android/app/src/main/ic_launcher-playstore.png
Binary file not shown.
2 changes: 1 addition & 1 deletion android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<background android:drawable="@color/iconBackground"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<background android:drawable="@color/iconBackground"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources>
<color name="splashscreen_background">#251520</color>
<color name="iconBackground">#251520</color>
<color name="colorPrimary">#251520</color>
<color name="colorPrimaryDark">#251520</color>
</resources>
<color name="splashscreen_background">#322A1D</color>
<color name="iconBackground">#FFFFFF</color>
<color name="colorPrimary">#023c69</color>
<color name="colorPrimaryDark">#322A1D</color>
</resources>
4 changes: 0 additions & 4 deletions android/app/src/main/res/values/ic_launcher_background.xml

This file was deleted.

4 changes: 2 additions & 2 deletions android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>
<string name="app_name">rootswallet-alpha</string>
<string name="app_name">rootswallet</string>
<string name="expo_splash_screen_resize_mode" translatable="false">contain</string>
<string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string>
</resources>
</resources>
12 changes: 4 additions & 8 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
{
"expo": {
"owner": "rootsid",
"name": "rootswallet-alpha",
"slug": "rootswallet-alpha",
"name": "rootswallet",
"slug": "rootswallet",
"description": "Open Source Identity Wallet for grass roots efforts that matter",
"privacy": "unlisted",
"version": "1.0.0-alpha",
"version": "0.0.1-alpha",
"orientation": "default",
"platforms": ["android"],
"githubUrl": "https://github.com/roots-id/rootswallet",
"icon": "./src/assets/LogoOnly1024.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#322A1D"
},
"updates": {
"enabled": true,
"fallbackToCacheTimeout": 10000
Expand All @@ -24,6 +19,7 @@
],
"android": {
"adaptiveIcon": {

"foregroundImage": "./src/assets/LogoOnly1024.png",
"backgroundColor": "#000000"
},
Expand Down
37 changes: 3 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@
"eject": "expo eject"
},
"dependencies": {
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/preset-env": "^7.1.6",
"@babel/runtime": "^7.18.3",
"@expo/react-native-action-sheet": "3.13.0",
"@react-native-async-storage/async-storage": "~1.17.6",
"@react-native-community/eslint-config": "^3.0.2",
"@react-native-masked-view/masked-view": "0.2.6",
"@react-native-async-storage/async-storage": "~1.15.0",
"@react-native-community/masked-view": "0.1.10",
"@react-native-picker/picker": "^2.4.1",
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/native": "6.0.10",
"@react-navigation/native-stack": "^6.6.2",
Expand All @@ -27,68 +23,41 @@
"@transmute/did-key-ed25519": "^0.3.0-unstable.8",
"@transmute/did-key-secp256k1": "^0.3.0-unstable.8",
"@transmute/did-key-x25519": "^0.3.0-unstable.8",
"@types/jest": "^28.1.1",
"@types/react": "^17.0.47",
"@types/react-native": "^0.67.8",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^28.1.1",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^8.17.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-react-native": "4.0.0",

"jest": "^28.1.1",
"jsc-android": "^250230.2.1",
"metro-react-native-babel-preset": "^0.71.1",
"prettier": ">=2",
"react-test-renderer": "16.8.0",
"typescript": "^4.7.4",
"base-64": "^1.0.0",
"buffer": "^6.0.3",
"dayjs": "1.11.3",
"emoji-utils": "^1.0.1",
"expo": "^44.0.6",
"expo-barcode-scanner": "^11.2.1",
"expo-secure-store": "~11.1.0",
"expo-status-bar": "~1.2.0",
"expo-updates": "~0.11.7",
"i18next": "^21.6.4",
"prop-types": "15.8.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-i18next": "^11.15.3",
"react-json-view": "^1.21.3",
"react-native": "0.64.3",
"react-native-base64": "^0.2.1",
"react-native-communications": "2.2.1",
"react-native-gesture-handler": "~2.1.0",
"react-native-gifted-chat": "1.0.0",
"react-native-hyperlink": "^0.0.19",
"react-native-lightbox": "0.8.1",
"react-native-localize": "^2.1.7",
"react-native-paper": "^4.12.1",
"react-native-parsed-text": "0.0.22",
"@react-native-picker/picker": ">= 2.0.0",
"react-native-qrcode-svg": "^6.1.2",
"react-native-randombytes": "^3.6.1",
"react-native-reanimated": "~2.3.1",
"react-native-safe-area-context": "^4.2.5",
"react-native-screens": "~3.10.1",
"react-native-svg": "^12.3.0",
"react-native-typing-animation": "0.1.7",
"react-native-uuid": "^2.0.1",
"react-native-vector-icons": "^9.1.0",
"react-native-web": "0.17.1",
"use-memo-one": "1.1.2",
"util": "^0.12.4"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@types/react": "~17.0.21",
"@types/react-native": "~0.64.12",
"typescript": "~4.3.5"
},
"jest": {
"preset": "react-native"
}
}
Binary file removed src/assets/LogoOnlyGlow512.png
Binary file not shown.
5 changes: 2 additions & 3 deletions src/components/LogoTitle.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { Image, Text, View } from 'react-native';
import {brandLogo} from "../relationships";
import { Image, StyleSheet, Text, View } from 'react-native';

function getTitle(title) {
if(title.length > 12) {
Expand All @@ -16,7 +15,7 @@ export default function LogoTitle(...props) {
<View style={{flexDirection:'row',}}>
<Image
style={{ width: 50, height: 50 }}
source={brandLogo}
source={require('../assets/LogoOnly1024.png')}
/>
<Text style={{ color: '#eeeeee',fontSize: 22,fontWeight: 'normal',textAlignVertical: "center",textAlign: "center", }}>
{getTitle(props[0]["title"])}
Expand Down
2 changes: 1 addition & 1 deletion src/components/RelRow.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { Image, SafeAreaView, TouchableOpacity} from 'react-native';
import { List } from 'react-native-paper';
import {asContactShareable, getCurrentUserContact, showRel} from '../relationships'
import {asContactShareable, showRel} from '../relationships'
import { getChatItem } from '../roots'
import {styles} from "../styles/styles";

Expand Down
Loading

0 comments on commit b6ca437

Please sign in to comment.