Skip to content

Commit

Permalink
Merge pull request #6 from EXXETA/develop
Browse files Browse the repository at this point in the history
Update release 1.0.0
  • Loading branch information
theDeniZ authored Oct 24, 2024
2 parents 6dce4cb + 5be6dc0 commit c06c16c
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 41 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Already implemented Features are:
- [x] Hooks Detection
- [x] Simulator Detection

You can see them in action with the [Example App](./SecurityToolkitExample) we've provided
You can see them in action with the [Example App](./example) we've provided

## Installation

Expand All @@ -33,13 +33,12 @@ Swift Package Manager

### pub.dev

`.package(url: "https://github.com/EXXETA/iOS-Security-Toolkit.git", from:
`.package(url: "https://github.com/EXXETA/Flutter-Security-Toolkit.git", from:
"1.0.0")`

> [!IMPORTANT]
> Make sure your `android/build.gradle` contains following:
!Important:

Make sure your `android/build.gradle` contains following:
```
allprojects {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 60;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down
73 changes: 38 additions & 35 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,41 +58,44 @@ class _MyAppState extends State<MyApp> {
child: Center(
child: Builder(builder: (context) {
final textTheme = Theme.of(context).textTheme;
return Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
_jailbroken || _hooks ? Icons.lock_open : Icons.lock,
size: 80,
).padding(bottom: 24),
Text(
'Protection',
style: textTheme.headlineLarge,
).padding(bottom: 8),
Text(
'Here is a list of the threats that could put you at risk',
style: textTheme.titleMedium?.copyWith(color: Colors.grey),
textAlign: TextAlign.center,
).padding(bottom: 16),
ThreatCard(
title: 'Jailbreak / Root',
description:
'Is a way of acquiring privileged control over the operating system of a device. Tools such as Magisk or Shadow can hide the privileged access',
status: _jailbroken,
),
ThreatCard(
title: 'Hooks',
description:
'Intercept system or application calls and then modify them (modify the return value of a function call for example)',
status: _hooks,
),
ThreatCard(
title: 'Simulator',
description: 'Running the application in an Simulator',
status: _simulator,
),
],
return SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
_jailbroken || _hooks ? Icons.lock_open : Icons.lock,
size: 80,
).padding(bottom: 24),
Text(
'Protection',
style: textTheme.headlineLarge,
).padding(bottom: 8),
Text(
'Here is a list of the threats that could put you at risk',
style:
textTheme.titleMedium?.copyWith(color: Colors.grey),
textAlign: TextAlign.center,
).padding(bottom: 16),
ThreatCard(
title: 'Jailbreak / Root',
description:
'Is a way of acquiring privileged control over the operating system of a device. Tools such as Magisk or Shadow can hide the privileged access',
status: _jailbroken,
),
ThreatCard(
title: 'Hooks',
description:
'Intercept system or application calls and then modify them (modify the return value of a function call for example)',
status: _hooks,
),
ThreatCard(
title: 'Simulator',
description: 'Running the application in an Simulator',
status: _simulator,
),
],
),
);
}),
).padding(left: 20, right: 20),
Expand Down

0 comments on commit c06c16c

Please sign in to comment.