agora-appbuilder-core 4.0.0-spl.9 → 4.0.0-test.2

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 (104) hide show
  1. package/package.json +2 -2
  2. package/template/_package-lock.json +16473 -11728
  3. package/template/agora-rn-uikit/src/Controls/Icons.ts +6 -0
  4. package/template/agora-rn-uikit/src/Rtc/Create.tsx +16 -4
  5. package/template/agora-rn-uikit/src/RtcConfigure.tsx +1 -2
  6. package/template/agora-rn-uikit/src/Utils/quality.tsx +8 -0
  7. package/template/agora-rn-uikit/src/Views/MaxVideoView.native.tsx +25 -3
  8. package/template/agora-rn-uikit/src/Views/MaxVideoView.tsx +11 -1
  9. package/template/android/build.gradle +2 -2
  10. package/template/bridge/rtc/webNg/RtcEngine.ts +10 -0
  11. package/template/global.d.ts +4 -1
  12. package/template/ios/HelloWorld/Info.plist +1 -1
  13. package/template/ios/HelloWorld.xcodeproj/project.pbxproj +560 -6
  14. package/template/ios/Podfile +4 -0
  15. package/template/ios/Podfile.lock +550 -0
  16. package/template/ios/ScreenSharing/Info.plist +15 -0
  17. package/template/ios/ScreenSharing/SampleHandler.h +9 -0
  18. package/template/ios/ScreenSharing/SampleHandler.m +70 -0
  19. package/template/package.json +5 -0
  20. package/template/src/App.tsx +3 -76
  21. package/template/src/AppRoutes.tsx +45 -0
  22. package/template/src/AppWrapper.tsx +16 -13
  23. package/template/src/SDKAppWrapper.tsx +32 -8
  24. package/template/src/assets/font-styles.css +3 -2
  25. package/template/src/atoms/Popup.tsx +3 -1
  26. package/template/src/auth/AuthProvider.tsx +502 -0
  27. package/template/src/auth/AuthRoute.tsx +86 -0
  28. package/template/src/auth/IDPAuth.electron.tsx +30 -0
  29. package/template/src/auth/IDPAuth.tsx +59 -0
  30. package/template/src/auth/IDPLogoutComponent.tsx +149 -0
  31. package/template/src/auth/UserCancelPopup.tsx +108 -0
  32. package/template/src/auth/config.ts +52 -0
  33. package/template/src/auth/openIDPURL.electron.tsx +38 -0
  34. package/template/src/auth/openIDPURL.native.tsx +51 -0
  35. package/template/src/auth/openIDPURL.tsx +20 -0
  36. package/template/src/auth/useIDPAuth.electron.tsx +62 -0
  37. package/template/src/auth/useIDPAuth.native.tsx +70 -0
  38. package/template/src/auth/useIDPAuth.tsx +67 -0
  39. package/template/src/auth/useTokenAuth.tsx +192 -0
  40. package/template/src/components/DeviceConfigure.tsx +17 -7
  41. package/template/src/components/EventsConfigure.tsx +43 -7
  42. package/template/src/components/GraphQLProvider.tsx +60 -35
  43. package/template/src/components/Navbar.tsx +12 -1
  44. package/template/src/components/Navigation.native.tsx +1 -15
  45. package/template/src/{subComponents/screenshare/ScreenshareButton.native.tsx → components/Navigation.sdk.tsx} +17 -3
  46. package/template/src/components/Navigation.tsx +1 -15
  47. package/template/src/components/Precall.native.tsx +24 -2
  48. package/template/src/components/Precall.tsx +17 -1
  49. package/template/src/components/Router.electron.ts +1 -0
  50. package/template/src/components/Router.native.ts +1 -0
  51. package/template/src/components/Router.sdk.ts +1 -0
  52. package/template/src/components/Router.ts +1 -0
  53. package/template/src/components/SdkApiContext.tsx +8 -4
  54. package/template/src/components/SettingsView.tsx +3 -1
  55. package/template/src/components/Share.tsx +22 -2
  56. package/template/src/components/StorageContext.tsx +20 -4
  57. package/template/src/components/ToastComponent.tsx +4 -3
  58. package/template/src/components/contexts/ScreenShareContext.tsx +14 -1
  59. package/template/src/components/popups/InvitePopup.tsx +6 -2
  60. package/template/src/components/popups/StartScreenSharePopup.native.tsx +179 -0
  61. package/template/src/components/popups/StartScreenSharePopup.tsx +6 -0
  62. package/template/src/components/popups/StopScreenSharePopup.native.tsx +123 -0
  63. package/template/src/components/popups/StopScreenSharePopup.tsx +6 -0
  64. package/template/src/components/precall/joinCallBtn.native.tsx +3 -1
  65. package/template/src/components/precall/joinCallBtn.tsx +4 -0
  66. package/template/src/components/precall/usePreCall.tsx +9 -2
  67. package/template/src/components/useShareLink.tsx +7 -5
  68. package/template/src/components/useUserPreference.tsx +29 -0
  69. package/template/src/components/useVideoCall.tsx +25 -0
  70. package/template/src/pages/Create.tsx +23 -2
  71. package/template/src/pages/Join.tsx +21 -1
  72. package/template/src/pages/Login.tsx +26 -0
  73. package/template/src/pages/VideoCall.tsx +15 -12
  74. package/template/src/pages/video-call/ActionSheet.native.tsx +22 -4
  75. package/template/src/pages/video-call/ActionSheet.tsx +1 -0
  76. package/template/src/pages/video-call/ActionSheetContent.tsx +19 -3
  77. package/template/src/pages/video-call/PinchableView.tsx +119 -0
  78. package/template/src/pages/video-call/VideoCallMobileView.tsx +116 -74
  79. package/template/src/pages/video-call/VideoCallScreen.native.tsx +24 -0
  80. package/template/src/pages/video-call/VideoRenderer.tsx +176 -29
  81. package/template/src/pages/video-call/ZoomableWrapper.native.tsx +34 -0
  82. package/template/src/pages/video-call/ZoomableWrapper.tsx +5 -0
  83. package/template/src/subComponents/Loading.tsx +47 -0
  84. package/template/src/subComponents/LocalEndCall.tsx +23 -3
  85. package/template/src/subComponents/LocalSwitchCamera.tsx +8 -2
  86. package/template/src/subComponents/LocalVideoMute.tsx +19 -2
  87. package/template/src/subComponents/LogoutButton.tsx +1 -1
  88. package/template/src/subComponents/recording/useRecording.tsx +14 -2
  89. package/template/src/subComponents/screenshare/ScreenshareButton.tsx +23 -4
  90. package/template/src/subComponents/screenshare/ScreenshareConfigure.native.tsx +142 -7
  91. package/template/src/subComponents/screenshare/ScreenshareConfigure.tsx +75 -61
  92. package/template/src/subComponents/screenshare/useScreenshare.tsx +2 -0
  93. package/template/src/utils/SdkEvents.ts +4 -0
  94. package/template/src/utils/SdkMethodEvents.ts +3 -0
  95. package/template/src/utils/common.tsx +22 -5
  96. package/template/src/utils/useCreateMeeting.ts +8 -12
  97. package/template/src/utils/useJoinMeeting.ts +4 -0
  98. package/template/src/utils/useMuteToggleLocal.ts +17 -48
  99. package/template/webpack.web.config.js +7 -3
  100. package/template/src/components/OAuth.electron.tsx +0 -41
  101. package/template/src/components/OAuth.native.tsx +0 -55
  102. package/template/src/components/OAuth.tsx +0 -30
  103. package/template/src/components/OAuthConfig.ts +0 -77
  104. package/template/src/components/StoreToken.tsx +0 -39
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-appbuilder-core",
3
- "version": "4.0.0-spl.9",
3
+ "version": "4.0.0-test.2",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "scripts": {
11
11
  "vercel-build": "npm run dev-setup && cd template && npm run web:build && cd .. && npm run copy-vercel",
12
- "uikit": "rm -rf template/agora-rn-uikit && git clone https://github.com/AgoraIO-Community/ReactNative-UIKit.git template/agora-rn-uikit && cd template/agora-rn-uikit && git checkout mavtek-spl-uikit",
12
+ "uikit": "rm -rf template/agora-rn-uikit && git clone https://github.com/AgoraIO-Community/ReactNative-UIKit.git template/agora-rn-uikit && cd template/agora-rn-uikit && git checkout 720p-testing",
13
13
  "deps": "cd template && npm i",
14
14
  "dev-setup": "npm run uikit && npm run deps && node devSetup.js",
15
15
  "web-build": "cd template && npm run web:build && cd .. && npm run copy-vercel",