Giter Site home page Giter Site logo

raysummee / expire_it Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 104 KB

Let the app be expire. The user will not be able to use the app after the expiry date

Home Page: https://pub.dev/packages/expire_it

License: MIT License

Kotlin 0.22% Swift 1.20% Objective-C 0.07% Dart 23.96% CMake 32.54% C++ 39.55% C 2.47%
client-work expire flutter open-source

expire_it's Introduction

Expire It Flutter App

Expire It is a unique Flutter app designed to provide an expiration mechanism for applications. This app ensures that the target app becomes inaccessible after a specified date and time, preventing unauthorized usage beyond the intended period. Unlike other methods that rely on local device time changes, Expire It sources its expiration information from an online server, making it highly secure and tamper-resistant.

Features

  • Secure Expiration: Expire It utilizes an online server to fetch expiration date and time, ensuring that unauthorized access attempts through local time changes are ineffective.

  • Reliable Server: The expiration information is stored on a reliable online server, making it virtually impossible to manipulate the expiration date and time locally.

  • Easy Integration: Integration of the Expire It feature into your Flutter app is straightforward and hassle-free.

  • Customizable UI: The UI of the Expire It dialog can be customized to seamlessly blend with the design of your app.

How It Works

  1. Integration: To integrate ExpireIt into your Flutter app, follow the provided guidelines to add the necessary code and UI elements.

  2. Server Communication: The ExpireIt app communicates with an online server to fetch the expiration date and time of the target app.

  3. Expiration Dialog: When the specified expiration date and time are reached, ExpireIt will display a dialog within the target app, informing the user that the app has expired and access is no longer available.

Getting Started

To integrate the ExpireIt functionality into your Flutter app, follow these steps:

  1. Add Dependency: Add the ExpireIt package as a dependency in your pubspec.yaml file:

    dependencies:
      expireit: ^0.2.0
  2. Import the Package: Import the ExpireIt package in your Dart file:

    import 'package:expireit/expireit.dart';
  3. Implementation: In your Flutter app's build method, utilize the ExpireIt widget to manage the UI based on expiration status:

    ExpireIt(
        controller: UserDefineExpireController(
            expiryDate: DateTime(2025),
        ),
        expireBuilder: (context) {
            return const Center(
                child: Text("Expired"),
            );
        },
        builder: (context) {
            return const Center(
                child: Text("Home screen"),
            );
        },
        loadingBuilder: (context) {
            return const Center(
                child: CircularProgressIndicator(),
            );
        },
    ),
  4. Customize UI: Customize the appearance of the expiration dialog and loading indicator to match your app's design.

For a more detailed guide and advanced configuration options, please refer to the ExpireIt documentation.

Compatibility

Requires Flutter version 2.0.0 or higher.

License

ExpireIt is released under the MIT License.

ExpireIt is designed to offer a robust and secure expiration mechanism for Flutter apps, safeguarding your app's usage beyond specified dates and times. If you have any questions, concerns, or feedback, feel free to contact us at [email protected]. We are excited to see how ExpireIt enhances the security of your apps!

expire_it's People

Contributors

raysummee avatar

Stargazers

 avatar

Watchers

 avatar

expire_it's Issues

Not working

Totally useless not working test ios simulator

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.