You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`PSScript`| Windows | PowerShell + WinForms, no extra install needed | None |
113
+
|`JXAScript`| macOS |`osascript` JXA, built into the OS | None |
114
+
|`Android`| Android | AAR + JNI to show an Android AlertDialog | See [Android Setup](#android-setup)|
115
+
|`IOS`| iOS | UIKit alert | None |
116
+
|`OHOS`| OpenHarmony | NAPI + ArkTS dialog | See [OHOS Setup](#ohos-setup)|
117
+
|`Yad`| Linux |[`yad`](https://github.com/v1cont/yad)| Install `yad`|
118
+
|`Zenity`| Linux |`zenity` — fallback on GNOME systems | Install `zenity`|
119
+
120
+
### Android Setup
121
+
122
+
You need to include AAR in your Android project to use the Android backend. The AAR is bundled with the crate, but you need to configure your Gradle build to find it.
123
+
124
+
#### Gradle Setup
125
+
126
+
Inside of your project's `settings.gradle` file, add the following code and Maven repository definition.
127
+
128
+
`$PATH_TO_DEPENDENT_CRATE` is the relative path to the Cargo manifest (`Cargo.toml`) of any crate in your workspace that depends on `inputbox` from the location of your `settings.gradle` file:
The `jni` crate must be initialized before the crate can interact with the JVM. Add the following code to your native library's initialization function:
0 commit comments