Skip to content

Commit

Permalink
Merge pull request #15 from EXXETA/develop
Browse files Browse the repository at this point in the history
Release v1.0.1

Signed-off-by: Denis Dobanda <[email protected]>
  • Loading branch information
theDeniZ committed Nov 29, 2024
2 parents c06c16c + 820e37c commit 6e318bc
Show file tree
Hide file tree
Showing 38 changed files with 155 additions and 2,269 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish to pub.dev

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'

jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
# with:
# working-directory: path/to/package/within/repository
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Flutter Mobile Security Toolkit Library Changelog
===========================

# 1.0.1

* Updated to respective 1.0.1 version of both Android and iOS libraries
* Using Cocoapod dependency for iOS, instead of .xcframework

# 1.0.0

* Added Jailbreak detection
Expand Down
24 changes: 9 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

![License](https://img.shields.io/github/license/EXXETA/Flutter-Security-Toolkit.svg?style=flat-square)
![Release](https://img.shields.io/github/release/EXXETA/Flutter-Security-Toolkit.svg?style=flat-square)
[![pub package](https://img.shields.io/pub/v/flutter_security_toolkit.svg?style=flat-square)](https://pub.dev/packages/flutter_security_toolkit)

<img src="./docs/1.png" width=300 alt="screenshot"/>
| | Android | iOS |
|-------------|---------|-------|
| **Support** | SDK 28+ | 13.0+ |

![Screenshot](./doc/1.png)

In a world where mobile devices hold vast amounts of personal and
business-critical data, security is no longer optional — it's essential.
Expand Down Expand Up @@ -32,22 +37,11 @@ You can use the Mobile Security Toolkit in your project by importing it with
Swift Package Manager

### pub.dev

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

> [!IMPORTANT]
> Make sure your `android/build.gradle` contains following:
Add the following to your `pubspec.yaml`:

```
allprojects {
repositories {
.
.
.
maven { url 'https://jitpack.io' }
}
}
dependencies:
flutter_security_toolkit: ^1.0.1
```

## Usage
Expand Down
Binary file added doc/1.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 removed docs/1.png
Binary file not shown.
2 changes: 1 addition & 1 deletion example/integration_test/plugin_integration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// For more information about Flutter integration tests, please see
// https://docs.flutter.dev/cookbook/testing/integration/introduction

import 'package:flutter_security_toolkit/threat_detection_center.dart';
import 'package:flutter_security_toolkit/src/threat_detection_center.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';

Expand Down
13 changes: 10 additions & 3 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
PODS:
- Flutter (1.0.0)
- flutter_security_toolkit (0.0.1):
- flutter_security_toolkit (1.0.1):
- Flutter
- SecurityToolkit (~> 1.0)
- integration_test (0.0.1):
- Flutter
- SecurityToolkit (1.0.1)

DEPENDENCIES:
- Flutter (from `Flutter`)
- flutter_security_toolkit (from `.symlinks/plugins/flutter_security_toolkit/ios`)
- integration_test (from `.symlinks/plugins/integration_test/ios`)

SPEC REPOS:
trunk:
- SecurityToolkit

EXTERNAL SOURCES:
Flutter:
:path: Flutter
Expand All @@ -20,9 +26,10 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_security_toolkit: 4bfaa6b0e58669037ca16f97b66ada44793fdaa3
flutter_security_toolkit: 73412e795f89286c565f7f91b76b2c4c610c953a
integration_test: ce0a3ffa1de96d1a89ca0ac26fca7ea18a749ef4
SecurityToolkit: 51927d4723e634bddb83a4d16e86940b344fa6a4

PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796

COCOAPODS: 1.15.2
COCOAPODS: 1.16.2
120 changes: 56 additions & 64 deletions example/ios/Runner.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_security_toolkit/threat_detection_center.dart';
import 'package:flutter_security_toolkit/flutter_security_toolkit.dart';

void main() {
runApp(const MyApp());
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.0"
version: "1.0.1"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
44 changes: 0 additions & 44 deletions ios/SecurityToolkit.xcframework/Info.plist

This file was deleted.

Binary file not shown.
Loading

0 comments on commit 6e318bc

Please sign in to comment.