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
Is the Firebase library or API you need missing? [Create an issue](https://github.com/TeamHubApp/firebase-kotlin-sdk/issues/new?labels=API+coverage&template=increase-api-coverage.md&title=Add+%5Bclass+name%5D.%5Bfunction+name%5D+to+%5Blibrary+name%5D+for+%5Bplatform+names%5D) to request additional API coverage or be awesome and [submit a PR](https://github.com/TeamHubApp/firebase-kotlin-sdk/fork)
23
+
Is the Firebase library or API you need missing? [Create an issue](https://github.com/GitLiveApp/firebase-kotlin-sdk/issues/new?labels=API+coverage&template=increase-api-coverage.md&title=Add+%5Bclass+name%5D.%5Bfunction+name%5D+to+%5Blibrary+name%5D+for+%5Bplatform+names%5D) to request additional API coverage or be awesome and [submit a PR](https://github.com/GitLiveApp/firebase-kotlin-sdk/fork)
TheFirebaseKotlinSDK provides a common API to access Firebasefor projects targeting *iOS*, *Android*and*JS* meaning you can use Firebase directly in your common code. Under the hood, the SDK achieves this by binding to the respective official FirebaseSDKfor each supported platform.
101
101
102
+
### Accessing the underlying FirebaseSDK
103
+
102
104
In some cases you might want to access the underlying official FirebaseSDKin platform specific code, for example when the common APIis missing the functionality you need. Forthis purpose each classin the SDK has `android`, `ios` and `js` properties which holds the equivalent object of the underlying official FirebaseSDK.
103
105
104
106
These properties are only accessible from the equivalent target's source set. For example to disable persistence in Cloud Firestore on Android you can write the following in your Android specific code (e.g. `androidMain` or `androidTest`):
@@ -109,5 +111,19 @@ These properties are only accessible from the equivalent target's source set. Fo
109
111
.build()
110
112
```
111
113
114
+
### NPM modules
115
+
116
+
If you are building a Kotlin multiplatform library which will be consumed from JS code you may need to include the SDK in your `package.json`, you can do it as follows:
0 commit comments