mirror of
https://github.com/KoalaSat/nostros.git
synced 2024-09-28 22:30:41 +00:00
Remove non-FOSS libary and add validator to release workflow (#195)
This commit is contained in:
commit
e257dff5ee
15
.github/workflows/android-build.yml
vendored
15
.github/workflows/android-build.yml
vendored
@ -31,6 +31,21 @@ jobs:
|
||||
cd android
|
||||
./gradlew assembleRelease
|
||||
|
||||
- name: 'Check for non-FOSS libraries'
|
||||
run: |
|
||||
wget https://github.com/iBotPeaches/Apktool/releases/download/v2.5.0/apktool_2.5.0.jar
|
||||
wget https://github.com/iBotPeaches/Apktool/raw/master/scripts/linux/apktool
|
||||
chmod u+x apktool
|
||||
ln -s apktool_2.5.0.jar apktool.jar
|
||||
./apktool d android/app/build/outputs/apk/release/app-universal-release.apk
|
||||
# clone the repo
|
||||
git clone https://gitlab.com/IzzyOnDroid/repo.git
|
||||
# create a directory for Apktool and move the apktool* files there
|
||||
mkdir -p repo/lib/radar/tool
|
||||
mv app-universal-release* repo/lib/radar/tool
|
||||
# create an alias for ease of use
|
||||
repo/bin/scanapk.php android/app/build/outputs/apk/release/app-universal-release.apk
|
||||
|
||||
- name: 'Get Commit Hash'
|
||||
id: commit
|
||||
uses: pr-mpt/actions-commit-hash@v1
|
||||
|
@ -139,8 +139,8 @@ android {
|
||||
applicationId "com.nostros"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 30
|
||||
versionName "0.2.1.4-alpha"
|
||||
versionCode 31
|
||||
versionName "0.2.1.5-alpha"
|
||||
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
||||
|
||||
if (isNewArchitectureEnabled()) {
|
||||
|
@ -3,7 +3,6 @@ import { useTranslation } from 'react-i18next'
|
||||
import { FlatList, Linking, ListRenderItem, StyleSheet } from 'react-native'
|
||||
import { Divider, List, Text, useTheme } from 'react-native-paper'
|
||||
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'
|
||||
import DeviceInfo from 'react-native-device-info'
|
||||
|
||||
interface ItemList {
|
||||
key: number
|
||||
@ -82,7 +81,7 @@ export const AboutPage: React.FC = () => {
|
||||
)}
|
||||
/>
|
||||
),
|
||||
right: <Text>{DeviceInfo.getVersion()}</Text>,
|
||||
right: <Text>v0.2.1.5-alpha</Text>,
|
||||
onPress: () => {},
|
||||
},
|
||||
],
|
||||
|
@ -38,7 +38,6 @@
|
||||
"react-native": "0.70.6",
|
||||
"react-native-action-button": "^2.8.5",
|
||||
"react-native-bidirectional-infinite-scroll": "^0.3.3",
|
||||
"react-native-device-info": "^10.3.0",
|
||||
"react-native-gesture-handler": "^2.8.0",
|
||||
"react-native-multithreading": "^1.1.1",
|
||||
"react-native-pager-view": "^6.1.2",
|
||||
|
Loading…
Reference in New Issue
Block a user