auth2

Project Url: typester/auth2
Introduction: Super simple OTP (Time-based One-Time Password) app showcasing how to build a mobile app core in Rust.
More: Author   ReportBugs   
Tags:

Super simple OTP (Time-based One-Time Password) app showcasing how to build a mobile app core in Rust.

Android screenshot 1 Android screenshot 2 iOS screenshot 1 iOS screenshot 2

What is this?

This is a sample app demonstrating an architecture where the core of the mobile app is written in Rust, and the UI is implemented natively using Compose and SwiftUI.

For more details, please refer to the following blog entries:

How to build, etc.

  1. Setup environment by following "Setup environment" entry linked above.
  2. Follow the platform specific instruction listed below:

Android

cd ./core
./build-android-lib.sh

Once the build completes without errors, you should be able to open the =android= directory in Android Studio and run the app.

iOS

cd ./core
cargo lipo --release
cargo build --release --target aarch64-apple-ios-sim

Once this completes without errors, you should be able to open =ios/Auth2.xcodeproj= in Xcode and run the app.

Author

Daisuke Murase typester@gmail.com

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools