| # Regenerate the JNI Bindings using: dart run jnigen --config jnigen.yaml |
| |
| summarizer: |
| backend: asm |
| |
| output: |
| dart: |
| path: "lib/src/jni/bindings.dart" |
| structure: single_file |
| |
| android_sdk_config: |
| add_gradle_deps: true |
| android_example: "example/" |
| |
| classes: |
| - "okhttp3.Request" |
| - "okhttp3.RequestBody" |
| - "okhttp3.Response" |
| - "okhttp3.ResponseBody" |
| - "okhttp3.OkHttpClient" |
| - "okhttp3.Call" |
| - "okhttp3.Headers" |
| - "okhttp3.Callback" |
| - "okhttp3.ConnectionPool" |
| - "okhttp3.Dispatcher" |
| - "java.util.concurrent.ExecutorService" |
| - "okhttp3.Cache" |
| - "com.example.ok_http.RedirectReceivedCallback" |
| - "com.example.ok_http.RedirectInterceptor" |
| - "com.example.ok_http.AsyncInputStreamReader" |
| - "com.example.ok_http.DataCallback" |
| - "okhttp3.WebSocket" |
| - "com.example.ok_http.WebSocketListenerProxy" |
| - "com.example.ok_http.FixedResponseX509ExtendedKeyManager" |
| - "okio.ByteString" |
| - "com.example.ok_http.WebSocketInterceptor" |
| - "java.util.concurrent.TimeUnit" |
| - "javax.net.ssl.X509TrustManager" |
| - "javax.net.SocketFactory" |
| - "javax.net.ssl.SSLSocketFactory" |
| - "javax.net.ssl.SSLContext" |
| - "javax.net.ssl.TrustManagerFactory" |
| - "javax.net.ssl.TrustManager" |
| - "java.security.KeyStore" |
| - "javax.net.ssl.KeyManager" |
| - "java.security.SecureRandom" |
| - "javax.net.ssl.X509KeyManager" |
| - "javax.net.ssl.X509ExtendedKeyManager" |
| - "javax.net.ssl.HostnameVerifier" |
| - "java.security.cert.X509Certificate" |
| - "android.security.KeyChain" |
| - "android.security.KeyChainAliasCallback" |
| - "java.security.KeyStore" |
| - "java.security.PrivateKey" |
| - "java.security.Key" |
| - "javax.net.ssl.KeyManagerFactory" |
| - "java.security.KeyPairGenerator" |
| - "java.security.KeyPair" |
| - "java.security.PublicKey" |
| - "java.io.ByteArrayInputStream" |
| - "java.util.Enumeration" |
| - "java.util.Arrays" |
| - "java.security.cert.Certificate" |
| preamble: | |
| // ignore_for_file: prefer_expression_function_bodies |