-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): freeRASP 1.6.0 (#19)
* feat(Android): add malware detection * feat(ts): add malware detection * chore(ts): generate dist files * feat(example): add malware detection * chore(release): freeRASP 1.6.0 * docs: update changelog * chore(ts): refactoring * chore(example): update add to whitelist * chore(Android): rename malware to malwareConfig * chore(Android): make applicationinfo nullable * chore(Android): add exception logs, improve json parsing * ci: add ci * chore: add package lock * chore: add build * feat: update SDKs for Android to 12.0.0 and iOS to 6.6.3 * feat(example): bump gradle wrapper in example app * docs: updadete readme
- Loading branch information
Showing
71 changed files
with
19,928 additions
and
713 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Setup | ||
description: Setup Node.js and install dependencies | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
node-version-file: .nvmrc | ||
|
||
- name: Install dependencies | ||
run: | | ||
npm ci | ||
npm ci --prefix example | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- '**/*.md' | ||
- '.github/**' | ||
pull_request: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- '**/*.md' | ||
- '.github/**' | ||
|
||
jobs: | ||
static-analysis: | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup | ||
uses: ./.github/actions/setup | ||
|
||
- name: Lint files | ||
run: npm run eslint -- --max-warnings=0 | ||
|
||
- name: Typecheck files | ||
run: npm run typecheck | ||
|
||
- name: Format check | ||
run: npm run prettier -- --check | ||
|
||
build: | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup | ||
uses: ./.github/actions/setup | ||
|
||
- name: Build package | ||
run: npm run ionic:build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
android/src/main/java/com/aheaditec/freerasp/models/CapSuspiciousAppInfo.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.aheaditec.freerasp.models | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
|
||
/** | ||
* Simplified, serializable wrapper for Talsec's SuspiciousAppInfo | ||
*/ | ||
@Serializable | ||
data class CapSuspiciousAppInfo( | ||
val packageInfo: CapPackageInfo, | ||
val reason: String, | ||
) | ||
|
||
/** | ||
* Simplified, serializable wrapper for Android's PackageInfo | ||
*/ | ||
@Serializable | ||
data class CapPackageInfo( | ||
val packageName: String, | ||
val appName: String?, | ||
val version: String?, | ||
val appIcon: String?, | ||
val installerStore: String? | ||
) |
Oops, something went wrong.