@telnyx/react-voice-commons-sdk 0.1.4 → 0.1.6

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.
Files changed (237) hide show
  1. package/CHANGELOG.md +31 -16
  2. package/README.md +469 -469
  3. package/TelnyxVoiceCommons.podspec +31 -31
  4. package/android/build/.transforms/35d64beab84343a7420320f8057c40b9/results.bin +1 -0
  5. package/android/build/.transforms/35d64beab84343a7420320f8057c40b9/transformed/classes/classes_dex/classes.dex +0 -0
  6. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/results.bin +1 -0
  7. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/BuildConfig.dex +0 -0
  8. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/CallForegroundService$Companion.dex +0 -0
  9. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/CallForegroundService.dex +0 -0
  10. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxFirebaseMessagingService.dex +0 -0
  11. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxMainActivity$Companion.dex +0 -0
  12. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxMainActivity.dex +0 -0
  13. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationActionReceiver.dex +0 -0
  14. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationHelper$Companion.dex +0 -0
  15. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationHelper.dex +0 -0
  16. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnBridgeModule$Companion.dex +0 -0
  17. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnBridgeModule.dex +0 -0
  18. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnBridgePackage.dex +0 -0
  19. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnManager.dex +0 -0
  20. package/android/build/.transforms/81896f393ea3c2e44a76283db01ad461/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  21. package/android/build/.transforms/8ebc6907344eccd2b9c23d903854d4fb/results.bin +1 -0
  22. package/android/build/.transforms/8ebc6907344eccd2b9c23d903854d4fb/transformed/classes/classes_dex/classes.dex +0 -0
  23. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/results.bin +1 -0
  24. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/BuildConfig.dex +0 -0
  25. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxFirebaseMessagingService.dex +0 -0
  26. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxMainActivity$Companion.dex +0 -0
  27. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxMainActivity.dex +0 -0
  28. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationActionReceiver.dex +0 -0
  29. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationHelper$Companion.dex +0 -0
  30. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/TelnyxNotificationHelper.dex +0 -0
  31. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnBridgeModule.dex +0 -0
  32. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnBridgePackage.dex +0 -0
  33. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/telnyx/react_voice_commons/VoicePnManager.dex +0 -0
  34. package/android/build/.transforms/af1ab9e262e91ec4942977987fb9a0ae/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  35. package/android/build/generated/source/buildConfig/debug/com/telnyx/react_voice_commons/BuildConfig.java +10 -0
  36. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +42 -0
  37. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  38. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  39. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  40. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  41. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  42. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  43. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
  44. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  45. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  46. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  47. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  48. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/telnyx_react-voice-commons-sdk_debug.kotlin_module +0 -0
  49. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/telnyx/react_voice_commons/BuildConfig.class +0 -0
  50. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
  51. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +75 -0
  52. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +42 -0
  53. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  54. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  55. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/telnyx_react-voice-commons-sdk_debug.kotlin_module +0 -0
  56. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/BuildConfig.class +0 -0
  57. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/CallForegroundService$Companion.class +0 -0
  58. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/CallForegroundService.class +0 -0
  59. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxFirebaseMessagingService.class +0 -0
  60. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxMainActivity$Companion.class +0 -0
  61. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxMainActivity.class +0 -0
  62. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxNotificationActionReceiver.class +0 -0
  63. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxNotificationHelper$Companion.class +0 -0
  64. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/TelnyxNotificationHelper.class +0 -0
  65. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/VoicePnBridgeModule$Companion.class +0 -0
  66. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/VoicePnBridgeModule.class +0 -0
  67. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/VoicePnBridgePackage.class +0 -0
  68. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/telnyx/react_voice_commons/VoicePnManager.class +0 -0
  69. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  70. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
  71. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  72. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  73. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  74. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  75. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  76. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  77. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  78. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  79. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  80. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  81. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  97. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  114. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  116. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  119. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  120. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  121. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  122. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  123. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  124. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  125. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  126. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  127. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  128. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  129. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  130. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  131. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  132. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  133. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  134. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
  135. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  136. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  137. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  138. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  139. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  140. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  141. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  142. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  143. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  144. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  145. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  146. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  147. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  148. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  149. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  150. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  151. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  152. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  153. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  154. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  155. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  156. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  157. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  158. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  159. package/android/build/outputs/logs/manifest-merger-debug-report.txt +82 -0
  160. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  161. package/android/build/tmp/kotlin-classes/debug/META-INF/telnyx_react-voice-commons-sdk_debug.kotlin_module +0 -0
  162. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/CallForegroundService$Companion.class +0 -0
  163. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/CallForegroundService.class +0 -0
  164. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxFirebaseMessagingService.class +0 -0
  165. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxMainActivity$Companion.class +0 -0
  166. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxMainActivity.class +0 -0
  167. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxNotificationActionReceiver.class +0 -0
  168. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxNotificationHelper$Companion.class +0 -0
  169. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/TelnyxNotificationHelper.class +0 -0
  170. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/VoicePnBridgeModule$Companion.class +0 -0
  171. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/VoicePnBridgeModule.class +0 -0
  172. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/VoicePnBridgePackage.class +0 -0
  173. package/android/build/tmp/kotlin-classes/debug/com/telnyx/react_voice_commons/VoicePnManager.class +0 -0
  174. package/android/build.gradle +45 -0
  175. package/android/local.properties +8 -0
  176. package/android/src/main/AndroidManifest.xml +38 -0
  177. package/android/src/main/java/com/telnyx/react_voice_commons/CallForegroundService.kt +83 -0
  178. package/android/src/main/java/com/telnyx/react_voice_commons/TelnyxFirebaseMessagingService.kt +179 -0
  179. package/android/src/main/java/com/telnyx/react_voice_commons/TelnyxMainActivity.kt +216 -0
  180. package/android/src/main/java/com/telnyx/react_voice_commons/TelnyxNotificationActionReceiver.kt +177 -0
  181. package/android/src/main/java/com/telnyx/react_voice_commons/TelnyxNotificationHelper.kt +277 -0
  182. package/android/src/main/java/com/telnyx/react_voice_commons/VoicePnBridgeModule.kt +247 -0
  183. package/android/src/main/java/com/telnyx/react_voice_commons/VoicePnBridgePackage.kt +17 -0
  184. package/android/src/main/java/com/telnyx/react_voice_commons/VoicePnManager.kt +154 -0
  185. package/ios/CallKitBridge.m +43 -43
  186. package/ios/CallKitBridge.swift +874 -874
  187. package/ios/VoicePnBridge.m +30 -30
  188. package/ios/VoicePnBridge.swift +86 -86
  189. package/lib/callkit/callkit-coordinator.d.ts +114 -110
  190. package/lib/callkit/callkit-coordinator.js +706 -664
  191. package/lib/callkit/callkit.d.ts +41 -41
  192. package/lib/callkit/callkit.js +242 -252
  193. package/lib/callkit/index.js +47 -15
  194. package/lib/callkit/use-callkit.d.ts +19 -19
  195. package/lib/callkit/use-callkit.js +310 -270
  196. package/lib/context/TelnyxVoiceContext.d.ts +9 -9
  197. package/lib/context/TelnyxVoiceContext.js +13 -10
  198. package/lib/hooks/use-callkit-coordinator.d.ts +17 -9
  199. package/lib/hooks/use-callkit-coordinator.js +50 -45
  200. package/lib/hooks/useAppReadyNotifier.js +15 -13
  201. package/lib/hooks/useAppStateHandler.d.ts +11 -6
  202. package/lib/hooks/useAppStateHandler.js +110 -95
  203. package/lib/index.d.ts +21 -3
  204. package/lib/index.js +201 -50
  205. package/lib/internal/CallKitHandler.d.ts +6 -6
  206. package/lib/internal/CallKitHandler.js +104 -96
  207. package/lib/internal/callkit-manager.d.ts +57 -57
  208. package/lib/internal/callkit-manager.js +316 -299
  209. package/lib/internal/calls/call-state-controller.d.ts +78 -73
  210. package/lib/internal/calls/call-state-controller.js +326 -265
  211. package/lib/internal/session/session-manager.d.ts +71 -71
  212. package/lib/internal/session/session-manager.js +437 -360
  213. package/lib/internal/user-defaults-helpers.js +39 -49
  214. package/lib/internal/voice-pn-bridge.d.ts +112 -104
  215. package/lib/internal/voice-pn-bridge.js +193 -203
  216. package/lib/models/call-state.d.ts +46 -46
  217. package/lib/models/call-state.js +74 -70
  218. package/lib/models/call.d.ts +173 -157
  219. package/lib/models/call.js +492 -448
  220. package/lib/models/config.d.ts +18 -11
  221. package/lib/models/config.js +35 -37
  222. package/lib/models/connection-state.d.ts +10 -10
  223. package/lib/models/connection-state.js +16 -16
  224. package/lib/telnyx-voice-app.d.ts +28 -28
  225. package/lib/telnyx-voice-app.js +561 -509
  226. package/lib/telnyx-voip-client.d.ts +174 -167
  227. package/lib/telnyx-voip-client.js +397 -385
  228. package/package.json +116 -115
  229. package/src/callkit/callkit-coordinator.ts +830 -830
  230. package/src/internal/calls/call-state-controller.ts +407 -407
  231. package/src/internal/session/session-manager.ts +483 -483
  232. package/src/internal/voice-pn-bridge.ts +266 -266
  233. package/src/models/call-state.ts +105 -105
  234. package/src/models/call.ts +502 -502
  235. package/src/telnyx-voice-app.tsx +787 -788
  236. package/src/telnyx-voip-client.ts +551 -551
  237. package/src/types/telnyx-sdk.d.ts +93 -93
@@ -1,212 +1,202 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  exports.VoicePnBridgeNative = exports.VoicePnBridge = void 0;
4
- const react_native_1 = require("react-native");
4
+ const react_native_1 = require('react-native');
5
5
  const NativeBridge = react_native_1.NativeModules.VoicePnBridge;
6
6
  exports.VoicePnBridgeNative = NativeBridge;
7
7
  /**
8
8
  * Enhanced VoicePnBridge with call control and event handling capabilities
9
9
  */
10
10
  class VoicePnBridge {
11
- /**
12
- * Get any pending push notification action from native side
13
- */
14
- static async getPendingPushAction() {
15
- try {
16
- const result = await NativeBridge.getPendingPushAction();
17
- return {
18
- action: result?.action || undefined,
19
- metadata: result?.metadata || undefined,
20
- };
21
- }
22
- catch (error) {
23
- console.error('VoicePnBridge: Error getting pending push action:', error);
24
- return {};
25
- }
26
- }
27
- /**
28
- * Set a pending push notification action to native side
29
- */
30
- static async setPendingPushAction(action, metadata) {
31
- try {
32
- return await NativeBridge.setPendingPushAction(action, metadata);
33
- }
34
- catch (error) {
35
- console.error('VoicePnBridge: Error setting pending push action:', error);
36
- return false;
37
- }
38
- }
39
- /**
40
- * Get any pending call action from native side (reliable polling pattern)
41
- */
42
- static async getPendingCallAction() {
43
- try {
44
- const result = await NativeBridge.getPendingCallAction();
45
- return {
46
- action: result?.action || undefined,
47
- callId: result?.callId || undefined,
48
- timestamp: result?.timestamp || undefined,
49
- };
50
- }
51
- catch (error) {
52
- console.error('VoicePnBridge: Error getting pending call action:', error);
53
- return {};
54
- }
55
- }
56
- /**
57
- * Clear any pending call action
58
- */
59
- static async clearPendingCallAction() {
60
- try {
61
- return await NativeBridge.clearPendingCallAction();
62
- }
63
- catch (error) {
64
- console.error('VoicePnBridge: Error clearing pending call action:', error);
65
- return false;
66
- }
67
- }
68
- /**
69
- * Clear any pending push notification action
70
- */
71
- static async clearPendingPushAction() {
72
- try {
73
- return await NativeBridge.clearPendingPushAction();
74
- }
75
- catch (error) {
76
- console.error('VoicePnBridge: Error clearing pending push action:', error);
77
- return false;
78
- }
79
- }
80
- /**
81
- * React Native Android: End/hang up the current call
82
- * This will hide the ongoing call notification and notify the native side
83
- */
84
- static async endCall(callId) {
85
- try {
86
- return await NativeBridge.endCall(callId || null);
87
- }
88
- catch (error) {
89
- console.error('VoicePnBridge: Error ending call:', error);
90
- return false;
91
- }
92
- }
93
- /**
94
- * React Native → Android: Show ongoing call notification to keep app alive
95
- * Should be called when a call becomes active to prevent background termination
96
- */
97
- static async showOngoingCallNotification(callerName, callerNumber, callId) {
98
- try {
99
- return await NativeBridge.showOngoingCallNotification(callerName || null, callerNumber || null, callId || null);
100
- }
101
- catch (error) {
102
- console.error('VoicePnBridge: Error showing ongoing call notification:', error);
103
- return false;
104
- }
105
- }
106
- /**
107
- * React Native → Android: Hide ongoing call notification
108
- * Should be called when a call ends to clean up notifications
109
- */
110
- static async hideOngoingCallNotification() {
111
- try {
112
- return await NativeBridge.hideOngoingCallNotification();
113
- }
114
- catch (error) {
115
- console.error('VoicePnBridge: Error hiding ongoing call notification:', error);
116
- return false;
117
- }
118
- }
119
- /**
120
- * React Native → Android: Hide incoming call notification
121
- * Useful for dismissing notifications when call is answered/rejected in app
122
- */
123
- static async hideIncomingCallNotification() {
124
- try {
125
- return await NativeBridge.hideIncomingCallNotification();
126
- }
127
- catch (error) {
128
- console.error('VoicePnBridge: Error hiding incoming call notification:', error);
129
- return false;
130
- }
131
- }
132
- /**
133
- * Get VoIP token from native storage
134
- */
135
- static async getVoipToken() {
136
- try {
137
- return await NativeBridge.getVoipToken();
138
- }
139
- catch (error) {
140
- console.error('VoicePnBridge: Error getting VoIP token:', error);
141
- return null;
142
- }
143
- }
144
- /**
145
- * Get pending VoIP push from native storage
146
- */
147
- static async getPendingVoipPush() {
148
- try {
149
- return await NativeBridge.getPendingVoipPush();
150
- }
151
- catch (error) {
152
- console.error('VoicePnBridge: Error getting pending VoIP push:', error);
153
- return null;
154
- }
155
- }
156
- /**
157
- * Clear pending VoIP push from native storage
158
- */
159
- static async clearPendingVoipPush() {
160
- try {
161
- return await NativeBridge.clearPendingVoipPush();
162
- }
163
- catch (error) {
164
- console.error('VoicePnBridge: Error clearing pending VoIP push:', error);
165
- return false;
166
- }
167
- }
168
- /**
169
- * Get pending VoIP action from native storage
170
- */
171
- static async getPendingVoipAction() {
172
- try {
173
- return await NativeBridge.getPendingVoipAction();
174
- }
175
- catch (error) {
176
- console.error('VoicePnBridge: Error getting pending VoIP action:', error);
177
- return null;
178
- }
179
- }
180
- /**
181
- * Clear pending VoIP action from native storage
182
- */
183
- static async clearPendingVoipAction() {
184
- try {
185
- return await NativeBridge.clearPendingVoipAction();
186
- }
187
- catch (error) {
188
- console.error('VoicePnBridge: Error clearing pending VoIP action:', error);
189
- return false;
190
- }
191
- }
192
- /**
193
- * Android → React Native: Listen for immediate call action events from notification buttons
194
- * Use this for active calls where immediate response is needed (e.g., ending ongoing calls)
195
- */
196
- static addCallActionListener(listener) {
197
- return react_native_1.DeviceEventEmitter.addListener('TelnyxCallAction', listener);
198
- }
199
- /**
200
- * Remove call action listener
201
- */
202
- static removeCallActionListener(subscription) {
203
- subscription.remove();
204
- }
205
- /**
206
- * Remove all call action listeners
207
- */
208
- static removeAllCallActionListeners() {
209
- react_native_1.DeviceEventEmitter.removeAllListeners('TelnyxCallAction');
210
- }
11
+ /**
12
+ * Get any pending push notification action from native side
13
+ */
14
+ static async getPendingPushAction() {
15
+ try {
16
+ const result = await NativeBridge.getPendingPushAction();
17
+ return {
18
+ action: result?.action || undefined,
19
+ metadata: result?.metadata || undefined,
20
+ };
21
+ } catch (error) {
22
+ console.error('VoicePnBridge: Error getting pending push action:', error);
23
+ return {};
24
+ }
25
+ }
26
+ /**
27
+ * Set a pending push notification action to native side
28
+ */
29
+ static async setPendingPushAction(action, metadata) {
30
+ try {
31
+ return await NativeBridge.setPendingPushAction(action, metadata);
32
+ } catch (error) {
33
+ console.error('VoicePnBridge: Error setting pending push action:', error);
34
+ return false;
35
+ }
36
+ }
37
+ /**
38
+ * Get any pending call action from native side (reliable polling pattern)
39
+ */
40
+ static async getPendingCallAction() {
41
+ try {
42
+ const result = await NativeBridge.getPendingCallAction();
43
+ return {
44
+ action: result?.action || undefined,
45
+ callId: result?.callId || undefined,
46
+ timestamp: result?.timestamp || undefined,
47
+ };
48
+ } catch (error) {
49
+ console.error('VoicePnBridge: Error getting pending call action:', error);
50
+ return {};
51
+ }
52
+ }
53
+ /**
54
+ * Clear any pending call action
55
+ */
56
+ static async clearPendingCallAction() {
57
+ try {
58
+ return await NativeBridge.clearPendingCallAction();
59
+ } catch (error) {
60
+ console.error('VoicePnBridge: Error clearing pending call action:', error);
61
+ return false;
62
+ }
63
+ }
64
+ /**
65
+ * Clear any pending push notification action
66
+ */
67
+ static async clearPendingPushAction() {
68
+ try {
69
+ return await NativeBridge.clearPendingPushAction();
70
+ } catch (error) {
71
+ console.error('VoicePnBridge: Error clearing pending push action:', error);
72
+ return false;
73
+ }
74
+ }
75
+ /**
76
+ * React Native → Android: End/hang up the current call
77
+ * This will hide the ongoing call notification and notify the native side
78
+ */
79
+ static async endCall(callId) {
80
+ try {
81
+ return await NativeBridge.endCall(callId || null);
82
+ } catch (error) {
83
+ console.error('VoicePnBridge: Error ending call:', error);
84
+ return false;
85
+ }
86
+ }
87
+ /**
88
+ * React Native → Android: Show ongoing call notification to keep app alive
89
+ * Should be called when a call becomes active to prevent background termination
90
+ */
91
+ static async showOngoingCallNotification(callerName, callerNumber, callId) {
92
+ try {
93
+ return await NativeBridge.showOngoingCallNotification(
94
+ callerName || null,
95
+ callerNumber || null,
96
+ callId || null
97
+ );
98
+ } catch (error) {
99
+ console.error('VoicePnBridge: Error showing ongoing call notification:', error);
100
+ return false;
101
+ }
102
+ }
103
+ /**
104
+ * React Native → Android: Hide ongoing call notification
105
+ * Should be called when a call ends to clean up notifications
106
+ */
107
+ static async hideOngoingCallNotification() {
108
+ try {
109
+ return await NativeBridge.hideOngoingCallNotification();
110
+ } catch (error) {
111
+ console.error('VoicePnBridge: Error hiding ongoing call notification:', error);
112
+ return false;
113
+ }
114
+ }
115
+ /**
116
+ * React Native → Android: Hide incoming call notification
117
+ * Useful for dismissing notifications when call is answered/rejected in app
118
+ */
119
+ static async hideIncomingCallNotification() {
120
+ try {
121
+ return await NativeBridge.hideIncomingCallNotification();
122
+ } catch (error) {
123
+ console.error('VoicePnBridge: Error hiding incoming call notification:', error);
124
+ return false;
125
+ }
126
+ }
127
+ /**
128
+ * Get VoIP token from native storage
129
+ */
130
+ static async getVoipToken() {
131
+ try {
132
+ return await NativeBridge.getVoipToken();
133
+ } catch (error) {
134
+ console.error('VoicePnBridge: Error getting VoIP token:', error);
135
+ return null;
136
+ }
137
+ }
138
+ /**
139
+ * Get pending VoIP push from native storage
140
+ */
141
+ static async getPendingVoipPush() {
142
+ try {
143
+ return await NativeBridge.getPendingVoipPush();
144
+ } catch (error) {
145
+ console.error('VoicePnBridge: Error getting pending VoIP push:', error);
146
+ return null;
147
+ }
148
+ }
149
+ /**
150
+ * Clear pending VoIP push from native storage
151
+ */
152
+ static async clearPendingVoipPush() {
153
+ try {
154
+ return await NativeBridge.clearPendingVoipPush();
155
+ } catch (error) {
156
+ console.error('VoicePnBridge: Error clearing pending VoIP push:', error);
157
+ return false;
158
+ }
159
+ }
160
+ /**
161
+ * Get pending VoIP action from native storage
162
+ */
163
+ static async getPendingVoipAction() {
164
+ try {
165
+ return await NativeBridge.getPendingVoipAction();
166
+ } catch (error) {
167
+ console.error('VoicePnBridge: Error getting pending VoIP action:', error);
168
+ return null;
169
+ }
170
+ }
171
+ /**
172
+ * Clear pending VoIP action from native storage
173
+ */
174
+ static async clearPendingVoipAction() {
175
+ try {
176
+ return await NativeBridge.clearPendingVoipAction();
177
+ } catch (error) {
178
+ console.error('VoicePnBridge: Error clearing pending VoIP action:', error);
179
+ return false;
180
+ }
181
+ }
182
+ /**
183
+ * Android React Native: Listen for immediate call action events from notification buttons
184
+ * Use this for active calls where immediate response is needed (e.g., ending ongoing calls)
185
+ */
186
+ static addCallActionListener(listener) {
187
+ return react_native_1.DeviceEventEmitter.addListener('TelnyxCallAction', listener);
188
+ }
189
+ /**
190
+ * Remove call action listener
191
+ */
192
+ static removeCallActionListener(subscription) {
193
+ subscription.remove();
194
+ }
195
+ /**
196
+ * Remove all call action listeners
197
+ */
198
+ static removeAllCallActionListeners() {
199
+ react_native_1.DeviceEventEmitter.removeAllListeners('TelnyxCallAction');
200
+ }
211
201
  }
212
202
  exports.VoicePnBridge = VoicePnBridge;
@@ -5,20 +5,20 @@
5
5
  * the complexity of the underlying SIP call states.
6
6
  */
7
7
  export declare enum TelnyxCallState {
8
- /** Call is being initiated (outgoing) or received (incoming) */
9
- RINGING = "RINGING",
10
- /** Call is connecting after being answered (usually from push notification) */
11
- CONNECTING = "CONNECTING",
12
- /** Call has been answered and media is flowing */
13
- ACTIVE = "ACTIVE",
14
- /** Call is on hold */
15
- HELD = "HELD",
16
- /** Call has ended normally */
17
- ENDED = "ENDED",
18
- /** Call failed to connect or was rejected */
19
- FAILED = "FAILED",
20
- /** Call was dropped due to network issues */
21
- DROPPED = "DROPPED"
8
+ /** Call is being initiated (outgoing) or received (incoming) */
9
+ RINGING = 'RINGING',
10
+ /** Call is connecting after being answered (usually from push notification) */
11
+ CONNECTING = 'CONNECTING',
12
+ /** Call has been answered and media is flowing */
13
+ ACTIVE = 'ACTIVE',
14
+ /** Call is on hold */
15
+ HELD = 'HELD',
16
+ /** Call has ended normally */
17
+ ENDED = 'ENDED',
18
+ /** Call failed to connect or was rejected */
19
+ FAILED = 'FAILED',
20
+ /** Call was dropped due to network issues */
21
+ DROPPED = 'DROPPED',
22
22
  }
23
23
  /**
24
24
  * Type guard to check if a value is a valid TelnyxCallState
@@ -28,36 +28,36 @@ export declare function isTelnyxCallState(value: any): value is TelnyxCallState;
28
28
  * Helper functions to determine what actions are available in each state
29
29
  */
30
30
  export declare const CallStateHelpers: {
31
- /**
32
- * Can the call be answered in this state?
33
- */
34
- canAnswer(state: TelnyxCallState): boolean;
35
- /**
36
- * Can the call be hung up in this state?
37
- */
38
- canHangup(state: TelnyxCallState): boolean;
39
- /**
40
- * Can the call be put on hold in this state?
41
- */
42
- canHold(state: TelnyxCallState): boolean;
43
- /**
44
- * Can the call be resumed from hold in this state?
45
- */
46
- canResume(state: TelnyxCallState): boolean;
47
- /**
48
- * Can the call be muted/unmuted in this state?
49
- */
50
- canToggleMute(state: TelnyxCallState): boolean;
51
- /**
52
- * Is the call in a terminated state?
53
- */
54
- isTerminated(state: TelnyxCallState): boolean;
55
- /**
56
- * Is the call in an active state (can have media)?
57
- */
58
- isActive(state: TelnyxCallState): boolean;
59
- /**
60
- * Is the call in a connecting state (answered but not yet active)?
61
- */
62
- isConnecting(state: TelnyxCallState): boolean;
31
+ /**
32
+ * Can the call be answered in this state?
33
+ */
34
+ canAnswer(state: TelnyxCallState): boolean;
35
+ /**
36
+ * Can the call be hung up in this state?
37
+ */
38
+ canHangup(state: TelnyxCallState): boolean;
39
+ /**
40
+ * Can the call be put on hold in this state?
41
+ */
42
+ canHold(state: TelnyxCallState): boolean;
43
+ /**
44
+ * Can the call be resumed from hold in this state?
45
+ */
46
+ canResume(state: TelnyxCallState): boolean;
47
+ /**
48
+ * Can the call be muted/unmuted in this state?
49
+ */
50
+ canToggleMute(state: TelnyxCallState): boolean;
51
+ /**
52
+ * Is the call in a terminated state?
53
+ */
54
+ isTerminated(state: TelnyxCallState): boolean;
55
+ /**
56
+ * Is the call in an active state (can have media)?
57
+ */
58
+ isActive(state: TelnyxCallState): boolean;
59
+ /**
60
+ * Is the call in a connecting state (answered but not yet active)?
61
+ */
62
+ isConnecting(state: TelnyxCallState): boolean;
63
63
  };