Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A brick for configuration generation and automatic setup for freeRASP.

License

NotificationsYou must be signed in to change notification settings

yardexx/freerasp_brick

Repository files navigation

Powered by MasonSupported freeRASPstyle: very good analysisLicense: MIT

A brick forfreeRASP to generate configuration code and automate necessary setup.

🚧 This brick is experimental and not stable! Changes to API/file generation reserved.

Overview

Setting up freeRASP can be quite tedious and repetitive. freerasp_brick provides you error-proofway to create configuration.

Features 🧰

  • 🛠 Configuration generation
  • 🎯 Dependency check usingpub get
  • 🔧 Fix apply usingdart fix
  • 🤖 Android SDK level check and automatic update
  • 🍎 iOS script insertion in Runner.xcscheme (Experimental)

How to add ➕

Using BrickHub.dev

You can add freerasp_brick to your project just like any other brick:

mason add freerasp_brick

Using GitHub dependency

You can also add freerasp_brick to your project using--git-url option:

mason add --git-url https://github.com/yardexx/freerasp_brick freerasp_brick

💡 If you plan to use freeRASP in many different projects, it's useful to have freerasp_brick as global brick. You can do it by adding--global option.

How to use 🚀

You can generate freeRASP configuration by running:

mason make freerasp_brick

After providing necessary information, freerasp_brick will generate following file structure:

freerasp├── freerasp.g.dart└── freerasp_callback.g.dart

Then simply importfreerasp.g.dart in your desired file and use it:

import'freerasp/freerasp.g.dart';// Some other code...talsec.start();

Generated reactions 💣

Default generated reaction for every callback isprint to console.

If you wish to change it, you can do so by editingfreerasp_callback.g.dart file.

Variables 📦

VariableDescriptionDefaultTypeConditionalWhen
watcher_mailAn email for security reportsN/AStringfalseN/A
androidAdd Android configurationtrueboolfalseN/A
package_nameAndroid app package namecom.example.appStringtrueandroid == true
signing_hashAndroid app signing hashN/AStringtrueandroid == true
update_gradleUpdate build.gradle filetruebooltrueandroid == true
iosAdd iOS configurationtrueboolfalseN/A
bundle_idiOS app idcom.example.appStringtrueios == true
team_idiOS team idN/AStringtrueios == true
update_schemeUpdate Runner.xcscheme filetruebooltrueios == true

⚠ Since freerasp_brick is heavily dependent on hooks, using-c option won't skip prompts generated by hooks.

Hooks 🎣

TypeEnabledCan be disabled
pre-gen
post-gen

⚠ Brick won't generate files correctly if you disablepre-gen orpost-gen hook.

Contribution 🤝

For issues, bugs, or feature proposals feel free toopen issueorcreate PR.

Useful resources 📚

If this is your first touch with freeRASP or Mason, you refer to these resources to get started:

Getting started withfreeRASP 🛡

Getting started withmason 🧱


[8]ページ先頭

©2009-2025 Movatter.jp