capacitor_bindings 0.14.0

Capacitor bindings to help you build android and ios apps with rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(any(feature = "ios", feature = "android"))]
use crate::prelude::*;

pub struct Rate {}

impl Rate {
    /// For details, see https://github.com/capacitor-community/in-app-review
    /// Note that both IOS and Android only let you request review occasionally for each user
    /// This may not show up at during local testing but you will be able to see it in debug logs
    #[cfg(all(feature = "review_plugin", any(feature = "ios", feature = "android")))]
    pub async fn request_review() -> Result<(), Error> {
        run_unit_unit(crate::extern_functions::request_review).await
    }
}