Build Configuration
Build Configuration for Casdoor Authenticator App
This guide provides instructions on how to configure and build the Casdoor Authenticator App for both Android and iOS platforms.
Prerequisites
Before you begin, ensure you have the following installed:
- Node.js
- npm
- Xcode (for iOS development, macOS only)
- Android Studio (for Android development)- Make sure to install the Android NDK (Native Development Kit) through the SDK Manager
 
General Configuration
- Clone the Casdoor Authenticator App repository: - git clone https://github.com/casdoor/casdoor-authenticator.git
 cd casdoor-authenticator
- Install dependencies: - npm install
Troubleshooting
- If you encounter any build errors, ensure all dependencies are up to date and compatible.
- For iOS, try cleaning the build folder in Xcode (Product > Clean Build Folder) if you face any issues.
- For Android, you can try cleaning the project with ./gradlew cleanin theandroiddirectory.
By following these configuration steps, you should be able to successfully build the Casdoor Authenticator App for both Android and iOS platforms.