Welcome to FireAndForget, a lightweight Kotlin Multiplatform library designed to run code only once on first access. Itβs perfect for features like onboarding flows, feature announcements, and one-time operations across different platforms such as Android, iOS, Desktop, and Web.
To get started with FireAndForget, follow these steps:
Visit the Releases Page: Go to our Releases page to find the latest version of FireAndForget.
Choose Your Platform: Look for the version that matches your platform. Whether you are using Android, iOS, or Desktop, you will find the suitable files listed.
Download the File: Click on the download link for your platform. The files are available in easily accessible formats.
Run the Application: After download, locate the file on your computer or device and double-click it to run.
Before using FireAndForget, ensure you meet the following requirements:
To use FireAndForget in your Android project, include it in your build.gradle file:
implementation "com.example:fireandforget:1.0"
Then, you can easily set up a one-time execution:
val fireAndForget = FireAndForget(context)
fireAndForget.executeOnce {
// Your code here
}
For iOS, add FireAndForget to your Podfile:
pod 'FireAndForget', '~> 1.0'
Use the library like this:
let fireAndForget = FireAndForget()
fireAndForget.executeOnce {
// Your code here
}
For detailed documentation, check out our Wiki. Here you will find guidelines on using FireAndForget effectively, along with additional examples and best practices.
If you have questions or need assistance, feel free to open an issue on our GitHub repository. Contributions are welcome! You can help us improve FireAndForget by submitting pull requests.
Remember, for a smooth experience, always use the latest version of FireAndForget available on our Releases page.