npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-native-trueconf-sdk

v1.4.13

Published

Wrapper for TrueConf React SDK

Readme

react-native-trueconf-sdk

Preview

iOS preview

TODO

Android preview

Android Preview

Getting started

$ npm install react-native-trueconf-sdk --save

or

$ yarn add react-native-trueconf-sdk

Then

$ cd ios && pod install

iOS

  1. Add the following code to Info.plist:
<dict>
  ...
  <key>NSCameraUsageDescription</key>
	<string>Need camera access to make calls</string>
	<key>NSMicrophoneUsageDescription</key>
	<string>Need microphone access to make calls</string>
  ...
</dict>

Android

  1. In MainApplication.kt add the following code:
import com.trueconf.sdk.TrueConfSDK

...

  override fun onCreate() {
    ...

    TrueConfSDK.getInstance().registerApp(this)
    TrueConfSDK.getInstance().setFallbackActivity(MainActivity::class.java)
  }
  1. In build.gradle add the following code with your TrueConf credentials:
buildscript {
    ext {
        ...
        trueConfSDKRepositoryUsername = "trueconfUsername"
        trueConfSDKRepositoryPassword = "trueconfPassword"
        ...
    }
    ...
}

apply from: file("../node_modules/react-native-trueconf-sdk/android/shared.gradle")

Usage

See example folder for usage example.

Methods

showCallWindow (Android only)

Brings up the TrueConf call screen.

trueConfRef.current?.showCallWindow()

Props

isFadeTransitionEnabled (Android only)

Enables or disables fade transition when call window hides.

To use fade out animation add this code to MainActivity.kt:


...
import android.content.Intent
...

class MainActivity : ReactActivity() {

  ...

  override fun onNewIntent(intent: Intent) {
    super.onNewIntent(intent)

    val isTrueConfSdkHideCallWindow:Boolean = intent.getBooleanExtra("isTrueConfSdkHideCallWindow", false)
    if (isTrueConfSdkHideCallWindow)
      overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out)
  }
}

Customization

Android

Colors

To customize colors of buttons etc add the following code to colors.xml:


<resources>
    ...
    <color name="tcsdk_button_background">#99FFFFFF</color>
    <color name="tcsdk_button_background_inactive">#26ffffff</color>
    <color name="tcsdk_button_background_hangup">#F57069</color>

    <color name="tcsdk_button_icon">#FFFFFF</color>
    <color name="tcsdk_button_icon_inactive">#99ffffff</color>

    <color name="tcsdk_call_background">#000000</color>
    <color name="tcsdk_self_view_background">#00FFFFFF</color>
    ...

TODO

Use this PR to dispatch events https://github.com/react-native-menu/menu/pull/749/files#diff-c1d10ac556f96ccfb6b02c68c77af8d0e24c0f45a40dcadc9e742fb3ab191af9

General

  • [ ] (planned: v3) Add react-navigation to example and more examples from TrueConf SDK Docs

Android

  • [ ] (planned: v2) Allow customize buttons colors and icons
  • [ ] (planned: v3) Use modern event emitter: https://github.com/facebook/react-native/blob/cb2b265c20f0622dec37c8b95c0380f78cb0877b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/RCTModernEventEmitter.java#L22
  • [ ] (planned: sdk issue) Add support to Android 14. Crashes on boot with error https://stackoverflow.com/questions/77235063/one-of-receiver-exported-or-receiver-not-exported-should-be-specified-when-a-rec (Support will be added to major update of TCSDK in summer of 2024)

Notes

  • Extensive guide on Android Fragments in React Native: https://stefan-majiros.com/blog/native-android-fragments-in-react-native/

  • Android docs: https://developer.android.com/guide/fragments

  • RN docs: https://reactnative.dev/docs/native-components-android?android-language=java#integration-with-an-android-fragment-example

  • [Android] Rounded borders can't be applied to SelfView for now. Support will be added to major update of TCSDK in summer of 2024

  • [iOS] muteAudio is not available for now. Support will be added later.