@telnyx/react-voice-commons-sdk 0.1.6 → 0.1.7-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/ios/CallKitBridge.m +1 -1
- package/ios/CallKitBridge.swift +1 -11
- package/ios/README.md +2 -2
- package/lib/callkit/callkit-coordinator.js +6 -2
- package/lib/internal/calls/call-state-controller.d.ts +9 -0
- package/lib/internal/calls/call-state-controller.js +51 -24
- package/lib/telnyx-voice-app.js +127 -151
- package/lib/telnyx-voip-client.d.ts +21 -0
- package/lib/telnyx-voip-client.js +30 -0
- package/package.json +4 -2
- package/src/callkit/callkit-coordinator.ts +8 -2
- package/src/internal/calls/call-state-controller.ts +56 -24
- package/src/telnyx-voice-app.tsx +154 -170
- package/src/telnyx-voip-client.ts +31 -0
- package/android/build/.transforms/35d64beab84343a7420320f8057c40b9/results.bin +0 -1
- package/android/build/.transforms/35d64beab84343a7420320f8057c40b9/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/results.bin +0 -1
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/BuildConfig.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/CallForegroundService$Companion.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/CallForegroundService.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxFirebaseMessagingService.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxMainActivity$Companion.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxMainActivity.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationActionReceiver.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationHelper$Companion.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationHelper.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnBridgeModule$Companion.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnBridgeModule.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnBridgePackage.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnManager.dex +0 -0
- package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/8ebc6907344eccd2b9c23d903854d4fb/results.bin +0 -1
- package/android/build/.transforms/8ebc6907344eccd2b9c23d903854d4fb/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/results.bin +0 -1
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/BuildConfig.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxFirebaseMessagingService.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxMainActivity$Companion.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxMainActivity.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationActionReceiver.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationHelper$Companion.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationHelper.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnBridgeModule.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnBridgePackage.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnManager.dex +0 -0
- package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/telnyx/react_voice_commons/BuildConfig.java +0 -10
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -42
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/telnyx_react-voice-commons-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/telnyx/react_voice_commons/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -75
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -42
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/telnyx_react-voice-commons-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/CallForegroundService$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/CallForegroundService.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxFirebaseMessagingService.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxMainActivity$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxMainActivity.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxNotificationActionReceiver.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxNotificationHelper$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxNotificationHelper.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/VoicePnBridgeModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/VoicePnBridgeModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/VoicePnBridgePackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/VoicePnManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -82
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/telnyx_react-voice-commons-sdk_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/CallForegroundService$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/CallForegroundService.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxFirebaseMessagingService.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxMainActivity$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxMainActivity.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxNotificationActionReceiver.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxNotificationHelper$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxNotificationHelper.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/VoicePnBridgeModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/VoicePnBridgeModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/VoicePnBridgePackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/VoicePnManager.class +0 -0
- package/android/local.properties +0 -8
package/src/telnyx-voice-app.tsx
CHANGED
|
@@ -270,6 +270,124 @@ const TelnyxVoiceAppComponent: React.FC<TelnyxVoiceAppProps> = ({
|
|
|
270
270
|
}
|
|
271
271
|
}, [voipClient, log]);
|
|
272
272
|
|
|
273
|
+
// Retrieve pending push data from the Android native bridge
|
|
274
|
+
const getAndroidPushData = async (): Promise<{
|
|
275
|
+
pushData: Record<string, any> | null;
|
|
276
|
+
earlyReturn: boolean;
|
|
277
|
+
}> => {
|
|
278
|
+
try {
|
|
279
|
+
const { NativeModules } = require('react-native');
|
|
280
|
+
const VoicePnBridge = NativeModules.VoicePnBridge;
|
|
281
|
+
|
|
282
|
+
if (!VoicePnBridge) {
|
|
283
|
+
log('VoicePnBridge not available on Android');
|
|
284
|
+
return { pushData: null, earlyReturn: false };
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
log('Checking for pending push actions via VoicePnBridge');
|
|
288
|
+
|
|
289
|
+
// Check for pending call actions (notification button taps like hangup/answer)
|
|
290
|
+
const pendingCallAction = await VoicePnBridge.getPendingCallAction();
|
|
291
|
+
log('Raw pending call action response:', pendingCallAction);
|
|
292
|
+
|
|
293
|
+
if (pendingCallAction?.action === 'hangup' && pendingCallAction.callId) {
|
|
294
|
+
log('Processing hangup action from notification for call:', pendingCallAction.callId);
|
|
295
|
+
|
|
296
|
+
const activeCall = voipClient.currentActiveCall;
|
|
297
|
+
if (activeCall && activeCall.callId === pendingCallAction.callId) {
|
|
298
|
+
log('Hanging up active call from notification action');
|
|
299
|
+
try {
|
|
300
|
+
await activeCall.hangup();
|
|
301
|
+
log('Call hung up successfully from notification action');
|
|
302
|
+
} catch (error) {
|
|
303
|
+
log('Error hanging up call from notification action:', error);
|
|
304
|
+
}
|
|
305
|
+
} else {
|
|
306
|
+
log('No matching active call found for hangup action');
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
await VoicePnBridge.clearPendingCallAction();
|
|
310
|
+
return { pushData: null, earlyReturn: true };
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// Check for regular push notification data
|
|
314
|
+
const pendingAction = await VoicePnBridge.getPendingPushAction();
|
|
315
|
+
log('Raw pending action response:', pendingAction);
|
|
316
|
+
|
|
317
|
+
if (pendingAction?.action != null && pendingAction?.metadata != null) {
|
|
318
|
+
log('Found pending push action:', pendingAction);
|
|
319
|
+
|
|
320
|
+
let metadata = pendingAction.metadata;
|
|
321
|
+
try {
|
|
322
|
+
metadata = JSON.parse(metadata);
|
|
323
|
+
log('Parsed metadata as JSON:', metadata);
|
|
324
|
+
} catch (e) {
|
|
325
|
+
log('JSON parse failed, trying Android key-value format');
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
await VoicePnBridge.clearPendingPushAction();
|
|
329
|
+
log('Cleared pending push action after retrieval');
|
|
330
|
+
|
|
331
|
+
return {
|
|
332
|
+
pushData: { action: pendingAction.action, metadata, from_notification: true },
|
|
333
|
+
earlyReturn: false,
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
log('No pending push actions found');
|
|
338
|
+
return { pushData: null, earlyReturn: false };
|
|
339
|
+
} catch (bridgeError) {
|
|
340
|
+
log('Error accessing VoicePnBridge on Android:', bridgeError);
|
|
341
|
+
return { pushData: null, earlyReturn: false };
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
|
|
345
|
+
// Retrieve pending push data from the iOS native bridge
|
|
346
|
+
const getIOSPushData = async (): Promise<Record<string, any> | null> => {
|
|
347
|
+
try {
|
|
348
|
+
const { NativeModules } = require('react-native');
|
|
349
|
+
const VoicePnBridge = NativeModules.VoicePnBridge;
|
|
350
|
+
|
|
351
|
+
if (!VoicePnBridge) {
|
|
352
|
+
log('VoicePnBridge not available on iOS');
|
|
353
|
+
return null;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
log('Checking for pending VoIP push data via iOS VoicePnBridge');
|
|
357
|
+
|
|
358
|
+
const pendingVoipPushJson = await VoicePnBridge.getPendingVoipPush();
|
|
359
|
+
log('Raw pending VoIP push response:', pendingVoipPushJson);
|
|
360
|
+
|
|
361
|
+
if (!pendingVoipPushJson) {
|
|
362
|
+
log('No pending VoIP push data found');
|
|
363
|
+
return null;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
try {
|
|
367
|
+
const pendingVoipPush = JSON.parse(pendingVoipPushJson);
|
|
368
|
+
const voipPayload = pendingVoipPush?.payload;
|
|
369
|
+
|
|
370
|
+
if (!voipPayload?.metadata) {
|
|
371
|
+
log('Invalid VoIP push data structure');
|
|
372
|
+
return null;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
log('Found pending VoIP push data:', voipPayload);
|
|
376
|
+
|
|
377
|
+
await VoicePnBridge.clearPendingVoipPush();
|
|
378
|
+
log('Cleared pending VoIP push data after retrieval');
|
|
379
|
+
|
|
380
|
+
return { action: 'incoming_call', metadata: voipPayload.metadata, from_notification: true };
|
|
381
|
+
} catch (parseError) {
|
|
382
|
+
log('Error parsing VoIP push JSON:', parseError);
|
|
383
|
+
return null;
|
|
384
|
+
}
|
|
385
|
+
} catch (bridgeError) {
|
|
386
|
+
log('Error accessing VoicePnBridge on iOS:', bridgeError);
|
|
387
|
+
return null;
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
|
|
273
391
|
// Check for initial push notification action when app launches
|
|
274
392
|
const checkForInitialPushNotification = useCallback(
|
|
275
393
|
async (fromAppResume: boolean = false) => {
|
|
@@ -280,203 +398,69 @@ const TelnyxVoiceAppComponent: React.FC<TelnyxVoiceAppProps> = ({
|
|
|
280
398
|
return;
|
|
281
399
|
}
|
|
282
400
|
|
|
283
|
-
// Only set the flag if this is not from app resume to allow resume processing
|
|
284
401
|
if (!fromAppResume) {
|
|
285
402
|
setProcessingPushOnLaunch(true);
|
|
286
403
|
}
|
|
287
404
|
onPushNotificationProcessingStarted?.();
|
|
288
405
|
|
|
289
406
|
try {
|
|
407
|
+
// Retrieve pending push data from the native layer
|
|
290
408
|
let pushData: Record<string, any> | null = null;
|
|
291
409
|
|
|
292
|
-
// Try to get push data from the native layer using platform-specific methods
|
|
293
410
|
if (Platform.OS === 'android') {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
const VoicePnBridge = NativeModules.VoicePnBridge;
|
|
298
|
-
|
|
299
|
-
if (VoicePnBridge) {
|
|
300
|
-
log('Checking for pending push actions via VoicePnBridge');
|
|
301
|
-
|
|
302
|
-
// First check for pending call actions (notification button taps like hangup/answer)
|
|
303
|
-
const pendingCallAction = await VoicePnBridge.getPendingCallAction();
|
|
304
|
-
log('Raw pending call action response:', pendingCallAction);
|
|
305
|
-
|
|
306
|
-
if (pendingCallAction && pendingCallAction.action != null) {
|
|
307
|
-
log('Found pending call action:', pendingCallAction);
|
|
308
|
-
|
|
309
|
-
// Handle call actions directly
|
|
310
|
-
if (pendingCallAction.action === 'hangup' && pendingCallAction.callId) {
|
|
311
|
-
log(
|
|
312
|
-
'Processing hangup action from notification for call:',
|
|
313
|
-
pendingCallAction.callId
|
|
314
|
-
);
|
|
315
|
-
|
|
316
|
-
// Find and hangup the call
|
|
317
|
-
const activeCall = voipClient.currentActiveCall;
|
|
318
|
-
if (activeCall && activeCall.callId === pendingCallAction.callId) {
|
|
319
|
-
log('Hanging up active call from notification action');
|
|
320
|
-
try {
|
|
321
|
-
await activeCall.hangup();
|
|
322
|
-
log('Call hung up successfully from notification action');
|
|
323
|
-
} catch (error) {
|
|
324
|
-
log('Error hanging up call from notification action:', error);
|
|
325
|
-
}
|
|
326
|
-
} else {
|
|
327
|
-
log('No matching active call found for hangup action');
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
// Clear the pending action
|
|
331
|
-
await VoicePnBridge.clearPendingCallAction();
|
|
332
|
-
return; // Don't process as push data
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
// Then check for regular push notification data
|
|
337
|
-
const pendingAction = await VoicePnBridge.getPendingPushAction();
|
|
338
|
-
log('Raw pending action response:', pendingAction);
|
|
339
|
-
|
|
340
|
-
if (pendingAction && pendingAction.action != null && pendingAction.metadata != null) {
|
|
341
|
-
log('Found pending push action:', pendingAction);
|
|
342
|
-
|
|
343
|
-
// Parse the metadata if it's a string
|
|
344
|
-
let metadata = pendingAction.metadata;
|
|
345
|
-
try {
|
|
346
|
-
// First try parsing as JSON
|
|
347
|
-
metadata = JSON.parse(metadata);
|
|
348
|
-
log('Parsed metadata as JSON:', metadata);
|
|
349
|
-
} catch (e) {
|
|
350
|
-
log('JSON parse failed, trying Android key-value format');
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
// Create push data structure that matches what the VoIP client expects
|
|
354
|
-
pushData = {
|
|
355
|
-
action: pendingAction.action,
|
|
356
|
-
metadata: metadata,
|
|
357
|
-
from_notification: true,
|
|
358
|
-
};
|
|
359
|
-
|
|
360
|
-
// Clear the pending action so it doesn't get processed again
|
|
361
|
-
await VoicePnBridge.clearPendingPushAction();
|
|
362
|
-
log('Cleared pending push action after retrieval');
|
|
363
|
-
} else {
|
|
364
|
-
log('No pending push actions found');
|
|
365
|
-
}
|
|
366
|
-
} else {
|
|
367
|
-
log('VoicePnBridge not available on Android');
|
|
368
|
-
}
|
|
369
|
-
} catch (bridgeError) {
|
|
370
|
-
log('Error accessing VoicePnBridge on Android:', bridgeError);
|
|
371
|
-
}
|
|
411
|
+
const result = await getAndroidPushData();
|
|
412
|
+
if (result.earlyReturn) return;
|
|
413
|
+
pushData = result.pushData;
|
|
372
414
|
} else if (Platform.OS === 'ios') {
|
|
373
|
-
|
|
374
|
-
// Import the native bridge module dynamically (same as Android)
|
|
375
|
-
const { NativeModules } = require('react-native');
|
|
376
|
-
const VoicePnBridge = NativeModules.VoicePnBridge;
|
|
377
|
-
|
|
378
|
-
if (VoicePnBridge) {
|
|
379
|
-
log('Checking for pending VoIP push data via iOS VoicePnBridge');
|
|
380
|
-
|
|
381
|
-
// Check for VoIP push notification data stored by the native push handler
|
|
382
|
-
const pendingVoipPushJson = await VoicePnBridge.getPendingVoipPush();
|
|
383
|
-
log('Raw pending VoIP push response:', pendingVoipPushJson);
|
|
384
|
-
|
|
385
|
-
if (pendingVoipPushJson) {
|
|
386
|
-
try {
|
|
387
|
-
const pendingVoipPush = JSON.parse(pendingVoipPushJson);
|
|
388
|
-
const voipPayload = pendingVoipPush?.payload;
|
|
389
|
-
|
|
390
|
-
if (voipPayload && voipPayload.metadata) {
|
|
391
|
-
log('Found pending VoIP push data:', voipPayload);
|
|
392
|
-
|
|
393
|
-
// Create push data structure that matches what the VoIP client expects
|
|
394
|
-
pushData = {
|
|
395
|
-
action: 'incoming_call',
|
|
396
|
-
metadata: voipPayload.metadata,
|
|
397
|
-
from_notification: true,
|
|
398
|
-
};
|
|
399
|
-
|
|
400
|
-
// Clear the pending VoIP push data so it doesn't get processed again
|
|
401
|
-
await VoicePnBridge.clearPendingVoipPush();
|
|
402
|
-
log('Cleared pending VoIP push data after retrieval');
|
|
403
|
-
} else {
|
|
404
|
-
log('Invalid VoIP push data structure');
|
|
405
|
-
}
|
|
406
|
-
} catch (parseError) {
|
|
407
|
-
log('Error parsing VoIP push JSON:', parseError);
|
|
408
|
-
}
|
|
409
|
-
} else {
|
|
410
|
-
log('No pending VoIP push data found');
|
|
411
|
-
}
|
|
412
|
-
} else {
|
|
413
|
-
log('VoicePnBridge not available on iOS');
|
|
414
|
-
}
|
|
415
|
-
} catch (bridgeError) {
|
|
416
|
-
log('Error accessing VoicePnBridge on iOS:', bridgeError);
|
|
417
|
-
}
|
|
415
|
+
pushData = await getIOSPushData();
|
|
418
416
|
} else {
|
|
419
417
|
log('Push data check skipped - unsupported platform');
|
|
420
418
|
}
|
|
421
419
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
// Check if we're already connected and handling a push - prevent duplicate processing
|
|
427
|
-
const isConnected = voipClient.currentConnectionState === TelnyxConnectionState.CONNECTED;
|
|
428
|
-
if (isConnected) {
|
|
429
|
-
log('SKIPPING - Already connected, preventing duplicate processing');
|
|
430
|
-
// Clear the stored data since we're already handling it
|
|
431
|
-
// TODO: Implement clearPushMetaData
|
|
432
|
-
return;
|
|
433
|
-
}
|
|
420
|
+
if (!pushData) {
|
|
421
|
+
log('No initial push data found');
|
|
422
|
+
return;
|
|
423
|
+
}
|
|
434
424
|
|
|
435
|
-
|
|
436
|
-
setIsHandlingForegroundCall(true);
|
|
437
|
-
backgroundDetectorIgnore.current = true;
|
|
438
|
-
log(`Background detector ignore set to: true at ${new Date().toISOString()}`);
|
|
439
|
-
log(`Foreground call handling flag set to: true at ${new Date().toISOString()}`);
|
|
425
|
+
log('Processing initial push notification...');
|
|
440
426
|
|
|
441
|
-
|
|
442
|
-
|
|
427
|
+
// Prevent duplicate processing if already connected
|
|
428
|
+
if (voipClient.currentConnectionState === TelnyxConnectionState.CONNECTED) {
|
|
429
|
+
log('SKIPPING - Already connected, preventing duplicate processing');
|
|
430
|
+
return;
|
|
431
|
+
}
|
|
443
432
|
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
433
|
+
// Set flags to prevent auto-reconnection during push call
|
|
434
|
+
setIsHandlingForegroundCall(true);
|
|
435
|
+
backgroundDetectorIgnore.current = true;
|
|
436
|
+
log(`Background detector ignore set to: true at ${new Date().toISOString()}`);
|
|
437
|
+
log(`Foreground call handling flag set to: true at ${new Date().toISOString()}`);
|
|
448
438
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
}
|
|
439
|
+
disposeBackgroundClient();
|
|
440
|
+
|
|
441
|
+
// On iOS, coordinate with CallKit using the call_id from push metadata
|
|
442
|
+
if (Platform.OS === 'ios') {
|
|
443
|
+
const callId = pushData.metadata?.call_id;
|
|
444
|
+
if (callId) {
|
|
445
|
+
const { callKitCoordinator } = require('./callkit/callkit-coordinator');
|
|
446
|
+
log('Notifying CallKit coordinator about push notification:', callId);
|
|
447
|
+
await callKitCoordinator.handleCallKitPushReceived(callId, {
|
|
448
|
+
callData: { source: 'push_notification' },
|
|
449
|
+
pushData: pushData,
|
|
450
|
+
});
|
|
461
451
|
} else {
|
|
462
|
-
|
|
452
|
+
log('No call_id found in push data, falling back to direct handling');
|
|
463
453
|
await voipClient.handlePushNotification(pushData);
|
|
464
454
|
}
|
|
465
|
-
|
|
466
|
-
log('Initial push notification processed');
|
|
467
|
-
log('Cleared stored push data to prevent duplicate processing');
|
|
468
|
-
|
|
469
|
-
// Note: isHandlingForegroundCall will be reset when calls.length becomes 0
|
|
470
|
-
// This prevents premature disconnection during CallKit answer flow
|
|
471
455
|
} else {
|
|
472
|
-
|
|
456
|
+
await voipClient.handlePushNotification(pushData);
|
|
473
457
|
}
|
|
458
|
+
|
|
459
|
+
log('Initial push notification processed');
|
|
474
460
|
} catch (e) {
|
|
475
461
|
log('Error processing initial push notification:', e);
|
|
476
|
-
// Reset flags on error
|
|
477
462
|
setIsHandlingForegroundCall(false);
|
|
478
463
|
} finally {
|
|
479
|
-
// Always reset the processing flag - it should not remain stuck
|
|
480
464
|
setProcessingPushOnLaunch(false);
|
|
481
465
|
onPushNotificationProcessingCompleted?.();
|
|
482
466
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { TelnyxConnectionState } from './models/connection-state';
|
|
3
3
|
import { Call } from './models/call';
|
|
4
|
+
import { TelnyxCallState } from './models/call-state';
|
|
4
5
|
import { Config, CredentialConfig, TokenConfig, validateConfig } from './models/config';
|
|
5
6
|
import { SessionManager } from './internal/session/session-manager';
|
|
6
7
|
import { CallStateController } from './internal/calls/call-state-controller';
|
|
@@ -120,6 +121,36 @@ export class TelnyxVoipClient {
|
|
|
120
121
|
return this._callStateController.currentActiveCall;
|
|
121
122
|
}
|
|
122
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Check if there are any active calls (not in ENDED or FAILED state).
|
|
126
|
+
* Matches TelnyxRTC `hasActiveCalls` property for multi-call support.
|
|
127
|
+
*/
|
|
128
|
+
get hasActiveCalls(): boolean {
|
|
129
|
+
return this.currentCalls.some(
|
|
130
|
+
(call) =>
|
|
131
|
+
call.currentState !== TelnyxCallState.ENDED && call.currentState !== TelnyxCallState.FAILED
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Access any active call tracked by the client.
|
|
137
|
+
* A call will be accessible until it has ended (transitioned to the ENDED state).
|
|
138
|
+
* This matches the TelnyxRTC `getCall(callId)` method for multi-call support.
|
|
139
|
+
*
|
|
140
|
+
* @param callId The unique identifier of a call.
|
|
141
|
+
* @returns The Call object that matches the requested callId, or null if not found.
|
|
142
|
+
* @example
|
|
143
|
+
* ```typescript
|
|
144
|
+
* const call = voipClient.getCall('some-call-uuid');
|
|
145
|
+
* if (call) {
|
|
146
|
+
* console.log('Call state:', call.currentState);
|
|
147
|
+
* }
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
getCall(callId: string): Call | null {
|
|
151
|
+
return this._callStateController.getCall(callId);
|
|
152
|
+
}
|
|
153
|
+
|
|
123
154
|
/**
|
|
124
155
|
* Current session ID (UUID) for this connection.
|
|
125
156
|
*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
o/classes
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
o/bundleLibRuntimeToDirDebug
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
o/classes
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
o/bundleLibRuntimeToDirDebug
|
|
Binary file
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Automatically generated file. DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
package com.telnyx.react_voice_commons;
|
|
5
|
-
|
|
6
|
-
public final class BuildConfig {
|
|
7
|
-
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
|
8
|
-
public static final String LIBRARY_PACKAGE_NAME = "com.telnyx.react_voice_commons";
|
|
9
|
-
public static final String BUILD_TYPE = "debug";
|
|
10
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
package="com.telnyx.react_voice_commons" >
|
|
4
|
-
|
|
5
|
-
<uses-sdk android:minSdkVersion="21" />
|
|
6
|
-
|
|
7
|
-
<!-- Basic permissions that this module needs -->
|
|
8
|
-
<uses-permission android:name="android.permission.INTERNET" />
|
|
9
|
-
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
10
|
-
<uses-permission android:name="android.permission.VIBRATE" />
|
|
11
|
-
|
|
12
|
-
<!-- WebRTC and voice call permissions -->
|
|
13
|
-
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
14
|
-
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
|
15
|
-
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
16
|
-
|
|
17
|
-
<!-- Background execution permissions for call handling -->
|
|
18
|
-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
19
|
-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" />
|
|
20
|
-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
|
|
21
|
-
|
|
22
|
-
<!-- Call management permissions -->
|
|
23
|
-
<uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
|
|
24
|
-
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
|
|
25
|
-
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
26
|
-
|
|
27
|
-
<!-- Hardware features -->
|
|
28
|
-
<uses-feature
|
|
29
|
-
android:name="android.hardware.microphone"
|
|
30
|
-
android:required="true" />
|
|
31
|
-
|
|
32
|
-
<application>
|
|
33
|
-
|
|
34
|
-
<!-- Foreground service for keeping WebRTC connections alive during calls -->
|
|
35
|
-
<service
|
|
36
|
-
android:name="com.telnyx.react_voice_commons.CallForegroundService"
|
|
37
|
-
android:enabled="true"
|
|
38
|
-
android:exported="false"
|
|
39
|
-
android:foregroundServiceType="phoneCall|microphone" />
|
|
40
|
-
</application>
|
|
41
|
-
|
|
42
|
-
</manifest>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"artifactType": {
|
|
4
|
-
"type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
|
|
5
|
-
"kind": "Directory"
|
|
6
|
-
},
|
|
7
|
-
"applicationId": "com.telnyx.react_voice_commons",
|
|
8
|
-
"variantName": "debug",
|
|
9
|
-
"elements": [
|
|
10
|
-
{
|
|
11
|
-
"type": "SINGLE",
|
|
12
|
-
"filters": [],
|
|
13
|
-
"attributes": [],
|
|
14
|
-
"outputFile": "AndroidManifest.xml"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"elementType": "File"
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#Fri Nov 14 14:06:08 CET 2025
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/build/generated/res/resValues/debug"/></dataSet><mergedItems/></merger>
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/src/main/jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/src/debug/jniLibs"/></dataSet></merger>
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/src/main/shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/src/debug/shaders"/></dataSet></merger>
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/src/main/assets"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/src/debug/assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/isaacakakpo/Documents/rtc_prod/react-voice-commons/node_modules/@telnyx/react-voice-commons-sdk/android/build/intermediates/shader_assets/debug/compileDebugShaders/out"/></dataSet></merger>
|
|
Binary file
|
|
Binary file
|