Skip to content

Commit c06c16c

Browse files
authored
Merge pull request #6 from EXXETA/develop
Update release 1.0.0
2 parents 6dce4cb + 5be6dc0 commit c06c16c

File tree

3 files changed

+43
-41
lines changed

3 files changed

+43
-41
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Already implemented Features are:
2424
- [x] Hooks Detection
2525
- [x] Simulator Detection
2626

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

2929
## Installation
3030

@@ -33,13 +33,12 @@ Swift Package Manager
3333

3434
### pub.dev
3535

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

39+
> [!IMPORTANT]
40+
> Make sure your `android/build.gradle` contains following:
3941
40-
!Important:
41-
42-
Make sure your `android/build.gradle` contains following:
4342
```
4443
allprojects {
4544
repositories {

example/ios/Runner.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 60;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */

example/lib/main.dart

+38-35
Original file line numberDiff line numberDiff line change
@@ -58,41 +58,44 @@ class _MyAppState extends State<MyApp> {
5858
child: Center(
5959
child: Builder(builder: (context) {
6060
final textTheme = Theme.of(context).textTheme;
61-
return Column(
62-
crossAxisAlignment: CrossAxisAlignment.center,
63-
mainAxisAlignment: MainAxisAlignment.center,
64-
children: [
65-
Icon(
66-
_jailbroken || _hooks ? Icons.lock_open : Icons.lock,
67-
size: 80,
68-
).padding(bottom: 24),
69-
Text(
70-
'Protection',
71-
style: textTheme.headlineLarge,
72-
).padding(bottom: 8),
73-
Text(
74-
'Here is a list of the threats that could put you at risk',
75-
style: textTheme.titleMedium?.copyWith(color: Colors.grey),
76-
textAlign: TextAlign.center,
77-
).padding(bottom: 16),
78-
ThreatCard(
79-
title: 'Jailbreak / Root',
80-
description:
81-
'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',
82-
status: _jailbroken,
83-
),
84-
ThreatCard(
85-
title: 'Hooks',
86-
description:
87-
'Intercept system or application calls and then modify them (modify the return value of a function call for example)',
88-
status: _hooks,
89-
),
90-
ThreatCard(
91-
title: 'Simulator',
92-
description: 'Running the application in an Simulator',
93-
status: _simulator,
94-
),
95-
],
61+
return SingleChildScrollView(
62+
child: Column(
63+
crossAxisAlignment: CrossAxisAlignment.center,
64+
mainAxisAlignment: MainAxisAlignment.center,
65+
children: [
66+
Icon(
67+
_jailbroken || _hooks ? Icons.lock_open : Icons.lock,
68+
size: 80,
69+
).padding(bottom: 24),
70+
Text(
71+
'Protection',
72+
style: textTheme.headlineLarge,
73+
).padding(bottom: 8),
74+
Text(
75+
'Here is a list of the threats that could put you at risk',
76+
style:
77+
textTheme.titleMedium?.copyWith(color: Colors.grey),
78+
textAlign: TextAlign.center,
79+
).padding(bottom: 16),
80+
ThreatCard(
81+
title: 'Jailbreak / Root',
82+
description:
83+
'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',
84+
status: _jailbroken,
85+
),
86+
ThreatCard(
87+
title: 'Hooks',
88+
description:
89+
'Intercept system or application calls and then modify them (modify the return value of a function call for example)',
90+
status: _hooks,
91+
),
92+
ThreatCard(
93+
title: 'Simulator',
94+
description: 'Running the application in an Simulator',
95+
status: _simulator,
96+
),
97+
],
98+
),
9699
);
97100
}),
98101
).padding(left: 20, right: 20),

0 commit comments

Comments
 (0)