@hedia/recommendation-screen 2.1.34-alpha.9 → 2.1.34

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 (234) hide show
  1. package/{src → dist/src}/RecommendationScreen.d.ts +3 -3
  2. package/{src → dist/src}/RecommendationScreen.js +6 -6
  3. package/{src → dist/src}/locale/da/messages.po +92 -92
  4. package/{src → dist/src}/locale/de/messages.po +92 -92
  5. package/{src → dist/src}/locale/en/messages.po +92 -92
  6. package/{src → dist/src}/locale/es/messages.js +1 -1
  7. package/{src → dist/src}/locale/es/messages.po +92 -92
  8. package/{src → dist/src}/locale/fr/messages.po +92 -92
  9. package/{src → dist/src}/locale/it/messages.po +92 -92
  10. package/package.json +22 -21
  11. package/.flowconfig +0 -65
  12. package/.github/pull_request_template.md +0 -6
  13. package/.github/workflows/ci.yaml +0 -17
  14. package/.github/workflows/publish-release-package.yaml +0 -17
  15. package/.github/workflows/validate-pr-title.yaml +0 -20
  16. package/.linguirc +0 -6
  17. package/.npmpackagejsonlintrc.json +0 -12
  18. package/.prettierignore +0 -2
  19. package/.prettierrc +0 -25
  20. package/Changelog.md +0 -9
  21. package/android/app/BUCK +0 -55
  22. package/android/app/build.gradle +0 -228
  23. package/android/app/build_defs.bzl +0 -19
  24. package/android/app/debug.keystore +0 -0
  25. package/android/app/proguard-rules.pro +0 -10
  26. package/android/app/src/debug/AndroidManifest.xml +0 -13
  27. package/android/app/src/debug/java/com/hediarecommendationscreen/ReactNativeFlipper.java +0 -72
  28. package/android/app/src/main/AndroidManifest.xml +0 -25
  29. package/android/app/src/main/assets/fonts/AntDesign.ttf +0 -0
  30. package/android/app/src/main/assets/fonts/Entypo.ttf +0 -0
  31. package/android/app/src/main/assets/fonts/EvilIcons.ttf +0 -0
  32. package/android/app/src/main/assets/fonts/Feather.ttf +0 -0
  33. package/android/app/src/main/assets/fonts/FontAwesome.ttf +0 -0
  34. package/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf +0 -0
  35. package/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf +0 -0
  36. package/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf +0 -0
  37. package/android/app/src/main/assets/fonts/Fontisto.ttf +0 -0
  38. package/android/app/src/main/assets/fonts/Foundation.ttf +0 -0
  39. package/android/app/src/main/assets/fonts/Ionicons.ttf +0 -0
  40. package/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf +0 -0
  41. package/android/app/src/main/assets/fonts/MaterialIcons.ttf +0 -0
  42. package/android/app/src/main/assets/fonts/Octicons.ttf +0 -0
  43. package/android/app/src/main/assets/fonts/Roboto-Black.ttf +0 -0
  44. package/android/app/src/main/assets/fonts/Roboto-BlackItalic.ttf +0 -0
  45. package/android/app/src/main/assets/fonts/Roboto-Bold.ttf +0 -0
  46. package/android/app/src/main/assets/fonts/Roboto-BoldItalic.ttf +0 -0
  47. package/android/app/src/main/assets/fonts/Roboto-Italic.ttf +0 -0
  48. package/android/app/src/main/assets/fonts/Roboto-Light.ttf +0 -0
  49. package/android/app/src/main/assets/fonts/Roboto-LightItalic.ttf +0 -0
  50. package/android/app/src/main/assets/fonts/Roboto-Medium.ttf +0 -0
  51. package/android/app/src/main/assets/fonts/Roboto-MediumItalic.ttf +0 -0
  52. package/android/app/src/main/assets/fonts/Roboto-Regular.ttf +0 -0
  53. package/android/app/src/main/assets/fonts/Roboto-Thin.ttf +0 -0
  54. package/android/app/src/main/assets/fonts/Roboto-ThinItalic.ttf +0 -0
  55. package/android/app/src/main/assets/fonts/SimpleLineIcons.ttf +0 -0
  56. package/android/app/src/main/assets/fonts/Zocial.ttf +0 -0
  57. package/android/app/src/main/java/com/hediarecommendationscreen/MainActivity.java +0 -15
  58. package/android/app/src/main/java/com/hediarecommendationscreen/MainApplication.java +0 -80
  59. package/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  60. package/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  61. package/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  62. package/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  63. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  64. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  65. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  66. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  67. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  68. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  69. package/android/app/src/main/res/values/color.xml +0 -3
  70. package/android/app/src/main/res/values/strings.xml +0 -3
  71. package/android/app/src/main/res/values/styles.xml +0 -11
  72. package/android/build.gradle +0 -38
  73. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  74. package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  75. package/android/gradle.properties +0 -28
  76. package/android/gradlew +0 -185
  77. package/android/gradlew.bat +0 -89
  78. package/android/settings.gradle +0 -3
  79. package/assets/fonts/Roboto/LICENSE.txt +0 -202
  80. package/assets/fonts/Roboto/Roboto-Black.ttf +0 -0
  81. package/assets/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
  82. package/assets/fonts/Roboto/Roboto-Bold.ttf +0 -0
  83. package/assets/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
  84. package/assets/fonts/Roboto/Roboto-Italic.ttf +0 -0
  85. package/assets/fonts/Roboto/Roboto-Light.ttf +0 -0
  86. package/assets/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
  87. package/assets/fonts/Roboto/Roboto-Medium.ttf +0 -0
  88. package/assets/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
  89. package/assets/fonts/Roboto/Roboto-Regular.ttf +0 -0
  90. package/assets/fonts/Roboto/Roboto-Thin.ttf +0 -0
  91. package/assets/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
  92. package/babel.config.js +0 -18
  93. package/ignore-git.sh +0 -46
  94. package/ignore-publish.sh +0 -33
  95. package/index-git.sh +0 -5
  96. package/ios/HediaRecommendationScreen/AppDelegate.h +0 -8
  97. package/ios/HediaRecommendationScreen/AppDelegate.m +0 -61
  98. package/ios/HediaRecommendationScreen/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  99. package/ios/HediaRecommendationScreen/Images.xcassets/Contents.json +0 -6
  100. package/ios/HediaRecommendationScreen/Info.plist +0 -90
  101. package/ios/HediaRecommendationScreen/LaunchScreen.storyboard +0 -47
  102. package/ios/HediaRecommendationScreen/main.m +0 -9
  103. package/ios/HediaRecommendationScreen.xcodeproj/project.pbxproj +0 -778
  104. package/ios/HediaRecommendationScreen.xcodeproj/xcshareddata/xcschemes/HediaRecommendationScreen-tvOS.xcscheme +0 -88
  105. package/ios/HediaRecommendationScreen.xcodeproj/xcshareddata/xcschemes/HediaRecommendationScreen.xcscheme +0 -88
  106. package/ios/HediaRecommendationScreen.xcworkspace/contents.xcworkspacedata +0 -10
  107. package/ios/HediaRecommendationScreen.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  108. package/ios/HediaRecommendationScreenTests/HediaRecommendationScreenTests.m +0 -65
  109. package/ios/HediaRecommendationScreenTests/Info.plist +0 -24
  110. package/ios/Podfile +0 -32
  111. package/ios/Podfile.lock +0 -544
  112. package/jest.config.js +0 -197
  113. package/jest.mock.js +0 -1
  114. package/metro.config.js +0 -17
  115. package/react-native.config.js +0 -7
  116. package/src/__tests__/RecommendationScreen.test.d.ts +0 -1
  117. package/src/__tests__/RecommendationScreen.test.js +0 -965
  118. package/src/__tests__/RecommendationUtils.test.d.ts +0 -1
  119. package/src/__tests__/RecommendationUtils.test.js +0 -216
  120. package/src/__tests__/Translate.test.d.ts +0 -1
  121. package/src/__tests__/Translate.test.js +0 -27
  122. package/src/__tests__/Utils.test.d.ts +0 -1
  123. package/src/__tests__/Utils.test.js +0 -66
  124. package/src/__tests__/Validations.test.d.ts +0 -1
  125. package/src/__tests__/Validations.test.js +0 -465
  126. package/src/__tests__/components/Activity.test.d.ts +0 -1
  127. package/src/__tests__/components/Activity.test.js +0 -86
  128. package/src/__tests__/components/Emotion.test.d.ts +0 -1
  129. package/src/__tests__/components/Emotion.test.js +0 -70
  130. package/src/__tests__/components/Header.test.d.ts +0 -1
  131. package/src/__tests__/components/Header.test.js +0 -36
  132. package/src/__tests__/components/InfoBars.test.d.ts +0 -1
  133. package/src/__tests__/components/InfoBars.test.js +0 -130
  134. package/src/__tests__/components/InvisibleNumberInput.test.d.ts +0 -1
  135. package/src/__tests__/components/InvisibleNumberInput.test.js +0 -160
  136. package/src/__tests__/components/LimitationMessage.test.d.ts +0 -1
  137. package/src/__tests__/components/LimitationMessage.test.js +0 -47
  138. package/src/__tests__/components/MoodIcon.test.d.ts +0 -1
  139. package/src/__tests__/components/MoodIcon.test.js +0 -30
  140. package/src/__tests__/components/RecommendationModal.test.d.ts +0 -1
  141. package/src/__tests__/components/RecommendationModal.test.js +0 -98
  142. package/src/__tests__/components/RecommendedCarbs.test.d.ts +0 -1
  143. package/src/__tests__/components/RecommendedCarbs.test.js +0 -120
  144. package/src/__tests__/components/RecommendedInsulin.test.d.ts +0 -1
  145. package/src/__tests__/components/RecommendedInsulin.test.js +0 -154
  146. package/src/__tests__/components/Remeasure.test.d.ts +0 -1
  147. package/src/__tests__/components/Remeasure.test.js +0 -78
  148. package/src/__tests__/components/TransferToLogbook.test.d.ts +0 -1
  149. package/src/__tests__/components/TransferToLogbook.test.js +0 -30
  150. package/src/__tests__/components/TwoOptionModal.test.d.ts +0 -1
  151. package/src/__tests__/components/TwoOptionModal.test.js +0 -65
  152. package/src/__tests__/utils.d.ts +0 -16
  153. package/src/__tests__/utils.js +0 -126
  154. package/tsconfig.json +0 -72
  155. package/tslint.json +0 -193
  156. package/typedoc.json +0 -13
  157. /package/{index.d.ts → dist/index.d.ts} +0 -0
  158. /package/{index.js → dist/index.js} +0 -0
  159. /package/{src → dist/src}/assets/activity/Cyclist.png +0 -0
  160. /package/{src → dist/src}/assets/activity/Other.png +0 -0
  161. /package/{src → dist/src}/assets/activity/Runner.png +0 -0
  162. /package/{src → dist/src}/assets/activity/Swimmer.png +0 -0
  163. /package/{src → dist/src}/assets/activity/Walk.png +0 -0
  164. /package/{src → dist/src}/assets/mood/happy.png +0 -0
  165. /package/{src → dist/src}/assets/mood/happy_active.png +0 -0
  166. /package/{src → dist/src}/assets/mood/neutral.png +0 -0
  167. /package/{src → dist/src}/assets/mood/neutral_active.png +0 -0
  168. /package/{src → dist/src}/assets/mood/sad.png +0 -0
  169. /package/{src → dist/src}/assets/mood/sad_active.png +0 -0
  170. /package/{src → dist/src}/assets/mood/semi_happy.png +0 -0
  171. /package/{src → dist/src}/assets/mood/semi_happy_active.png +0 -0
  172. /package/{src → dist/src}/assets/mood/semi_sad.png +0 -0
  173. /package/{src → dist/src}/assets/mood/semi_sad_active.png +0 -0
  174. /package/{src → dist/src}/components/Header.d.ts +0 -0
  175. /package/{src → dist/src}/components/Header.js +0 -0
  176. /package/{src → dist/src}/components/Icon.d.ts +0 -0
  177. /package/{src → dist/src}/components/Icon.js +0 -0
  178. /package/{src → dist/src}/components/InfoBars.d.ts +0 -0
  179. /package/{src → dist/src}/components/InfoBars.js +0 -0
  180. /package/{src → dist/src}/components/InvisibleNumberInput.d.ts +0 -0
  181. /package/{src → dist/src}/components/InvisibleNumberInput.js +0 -0
  182. /package/{src → dist/src}/components/LimitationMessage.d.ts +0 -0
  183. /package/{src → dist/src}/components/LimitationMessage.js +0 -0
  184. /package/{src → dist/src}/components/LineSeparator.d.ts +0 -0
  185. /package/{src → dist/src}/components/LineSeparator.js +0 -0
  186. /package/{src → dist/src}/components/RecentInsulin.d.ts +0 -0
  187. /package/{src → dist/src}/components/RecentInsulin.js +0 -0
  188. /package/{src → dist/src}/components/RecommendationModal.d.ts +0 -0
  189. /package/{src → dist/src}/components/RecommendationModal.js +0 -0
  190. /package/{src → dist/src}/components/RecommendedCarbs.d.ts +0 -0
  191. /package/{src → dist/src}/components/RecommendedCarbs.js +0 -0
  192. /package/{src → dist/src}/components/RecommendedInsulin.d.ts +0 -0
  193. /package/{src → dist/src}/components/RecommendedInsulin.js +0 -0
  194. /package/{src → dist/src}/components/Remeasure.d.ts +0 -0
  195. /package/{src → dist/src}/components/Remeasure.js +0 -0
  196. /package/{src → dist/src}/components/TransferToLogbook.d.ts +0 -0
  197. /package/{src → dist/src}/components/TransferToLogbook.js +0 -0
  198. /package/{src → dist/src}/components/TwoOptionModal.d.ts +0 -0
  199. /package/{src → dist/src}/components/TwoOptionModal.js +0 -0
  200. /package/{src → dist/src}/components/activity/Activity.d.ts +0 -0
  201. /package/{src → dist/src}/components/activity/Activity.js +0 -0
  202. /package/{src → dist/src}/components/activity/ActivityIcon.d.ts +0 -0
  203. /package/{src → dist/src}/components/activity/ActivityIcon.js +0 -0
  204. /package/{src → dist/src}/components/activity/ActivityIntensity.d.ts +0 -0
  205. /package/{src → dist/src}/components/activity/ActivityIntensity.js +0 -0
  206. /package/{src → dist/src}/components/mood/Emotion.d.ts +0 -0
  207. /package/{src → dist/src}/components/mood/Emotion.js +0 -0
  208. /package/{src → dist/src}/components/mood/MoodIcon.d.ts +0 -0
  209. /package/{src → dist/src}/components/mood/MoodIcon.js +0 -0
  210. /package/{src → dist/src}/locale/da/messages.js +0 -0
  211. /package/{src → dist/src}/locale/de/messages.js +0 -0
  212. /package/{src → dist/src}/locale/en/messages.js +0 -0
  213. /package/{src → dist/src}/locale/fr/messages.js +0 -0
  214. /package/{src → dist/src}/locale/i18nUtils.d.ts +0 -0
  215. /package/{src → dist/src}/locale/i18nUtils.js +0 -0
  216. /package/{src → dist/src}/locale/it/messages.js +0 -0
  217. /package/{src → dist/src}/types/enum.d.ts +0 -0
  218. /package/{src → dist/src}/types/enum.js +0 -0
  219. /package/{src → dist/src}/types/types.d.ts +0 -0
  220. /package/{src → dist/src}/types/types.js +0 -0
  221. /package/{src → dist/src}/utils/AttentionMessages.d.ts +0 -0
  222. /package/{src → dist/src}/utils/AttentionMessages.js +0 -0
  223. /package/{src → dist/src}/utils/Constants.d.ts +0 -0
  224. /package/{src → dist/src}/utils/Constants.js +0 -0
  225. /package/{src → dist/src}/utils/RecommendationError.d.ts +0 -0
  226. /package/{src → dist/src}/utils/RecommendationError.js +0 -0
  227. /package/{src → dist/src}/utils/RecommendationUtils.d.ts +0 -0
  228. /package/{src → dist/src}/utils/RecommendationUtils.js +0 -0
  229. /package/{src → dist/src}/utils/Translations.d.ts +0 -0
  230. /package/{src → dist/src}/utils/Translations.js +0 -0
  231. /package/{src → dist/src}/utils/Utils.d.ts +0 -0
  232. /package/{src → dist/src}/utils/Utils.js +0 -0
  233. /package/{src → dist/src}/utils/Validations.d.ts +0 -0
  234. /package/{src → dist/src}/utils/Validations.js +0 -0
@@ -1,88 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Scheme
3
- LastUpgradeVersion = "1130"
4
- version = "1.3">
5
- <BuildAction
6
- parallelizeBuildables = "YES"
7
- buildImplicitDependencies = "YES">
8
- <BuildActionEntries>
9
- <BuildActionEntry
10
- buildForTesting = "YES"
11
- buildForRunning = "YES"
12
- buildForProfiling = "YES"
13
- buildForArchiving = "YES"
14
- buildForAnalyzing = "YES">
15
- <BuildableReference
16
- BuildableIdentifier = "primary"
17
- BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
18
- BuildableName = "HediaRecommendationScreen-tvOS.app"
19
- BlueprintName = "HediaRecommendationScreen-tvOS"
20
- ReferencedContainer = "container:HediaRecommendationScreen.xcodeproj">
21
- </BuildableReference>
22
- </BuildActionEntry>
23
- </BuildActionEntries>
24
- </BuildAction>
25
- <TestAction
26
- buildConfiguration = "Debug"
27
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
- shouldUseLaunchSchemeArgsEnv = "YES">
30
- <Testables>
31
- <TestableReference
32
- skipped = "NO">
33
- <BuildableReference
34
- BuildableIdentifier = "primary"
35
- BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
36
- BuildableName = "HediaRecommendationScreen-tvOSTests.xctest"
37
- BlueprintName = "HediaRecommendationScreen-tvOSTests"
38
- ReferencedContainer = "container:HediaRecommendationScreen.xcodeproj">
39
- </BuildableReference>
40
- </TestableReference>
41
- </Testables>
42
- </TestAction>
43
- <LaunchAction
44
- buildConfiguration = "Debug"
45
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47
- launchStyle = "0"
48
- useCustomWorkingDirectory = "NO"
49
- ignoresPersistentStateOnLaunch = "NO"
50
- debugDocumentVersioning = "YES"
51
- debugServiceExtension = "internal"
52
- allowLocationSimulation = "YES">
53
- <BuildableProductRunnable
54
- runnableDebuggingMode = "0">
55
- <BuildableReference
56
- BuildableIdentifier = "primary"
57
- BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
58
- BuildableName = "HediaRecommendationScreen-tvOS.app"
59
- BlueprintName = "HediaRecommendationScreen-tvOS"
60
- ReferencedContainer = "container:HediaRecommendationScreen.xcodeproj">
61
- </BuildableReference>
62
- </BuildableProductRunnable>
63
- </LaunchAction>
64
- <ProfileAction
65
- buildConfiguration = "Release"
66
- shouldUseLaunchSchemeArgsEnv = "YES"
67
- savedToolIdentifier = ""
68
- useCustomWorkingDirectory = "NO"
69
- debugDocumentVersioning = "YES">
70
- <BuildableProductRunnable
71
- runnableDebuggingMode = "0">
72
- <BuildableReference
73
- BuildableIdentifier = "primary"
74
- BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
75
- BuildableName = "HediaRecommendationScreen-tvOS.app"
76
- BlueprintName = "HediaRecommendationScreen-tvOS"
77
- ReferencedContainer = "container:HediaRecommendationScreen.xcodeproj">
78
- </BuildableReference>
79
- </BuildableProductRunnable>
80
- </ProfileAction>
81
- <AnalyzeAction
82
- buildConfiguration = "Debug">
83
- </AnalyzeAction>
84
- <ArchiveAction
85
- buildConfiguration = "Release"
86
- revealArchiveInOrganizer = "YES">
87
- </ArchiveAction>
88
- </Scheme>
@@ -1,88 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Scheme
3
- LastUpgradeVersion = "1210"
4
- version = "1.3">
5
- <BuildAction
6
- parallelizeBuildables = "YES"
7
- buildImplicitDependencies = "YES">
8
- <BuildActionEntries>
9
- <BuildActionEntry
10
- buildForTesting = "YES"
11
- buildForRunning = "YES"
12
- buildForProfiling = "YES"
13
- buildForArchiving = "YES"
14
- buildForAnalyzing = "YES">
15
- <BuildableReference
16
- BuildableIdentifier = "primary"
17
- BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18
- BuildableName = "HediaRecommendationScreen.app"
19
- BlueprintName = "HediaRecommendationScreen"
20
- ReferencedContainer = "container:HediaRecommendationScreen.xcodeproj">
21
- </BuildableReference>
22
- </BuildActionEntry>
23
- </BuildActionEntries>
24
- </BuildAction>
25
- <TestAction
26
- buildConfiguration = "Debug"
27
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
- shouldUseLaunchSchemeArgsEnv = "YES">
30
- <Testables>
31
- <TestableReference
32
- skipped = "NO">
33
- <BuildableReference
34
- BuildableIdentifier = "primary"
35
- BlueprintIdentifier = "00E356ED1AD99517003FC87E"
36
- BuildableName = "HediaRecommendationScreenTests.xctest"
37
- BlueprintName = "HediaRecommendationScreenTests"
38
- ReferencedContainer = "container:HediaRecommendationScreen.xcodeproj">
39
- </BuildableReference>
40
- </TestableReference>
41
- </Testables>
42
- </TestAction>
43
- <LaunchAction
44
- buildConfiguration = "Debug"
45
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47
- launchStyle = "0"
48
- useCustomWorkingDirectory = "NO"
49
- ignoresPersistentStateOnLaunch = "NO"
50
- debugDocumentVersioning = "YES"
51
- debugServiceExtension = "internal"
52
- allowLocationSimulation = "YES">
53
- <BuildableProductRunnable
54
- runnableDebuggingMode = "0">
55
- <BuildableReference
56
- BuildableIdentifier = "primary"
57
- BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
58
- BuildableName = "HediaRecommendationScreen.app"
59
- BlueprintName = "HediaRecommendationScreen"
60
- ReferencedContainer = "container:HediaRecommendationScreen.xcodeproj">
61
- </BuildableReference>
62
- </BuildableProductRunnable>
63
- </LaunchAction>
64
- <ProfileAction
65
- buildConfiguration = "Release"
66
- shouldUseLaunchSchemeArgsEnv = "YES"
67
- savedToolIdentifier = ""
68
- useCustomWorkingDirectory = "NO"
69
- debugDocumentVersioning = "YES">
70
- <BuildableProductRunnable
71
- runnableDebuggingMode = "0">
72
- <BuildableReference
73
- BuildableIdentifier = "primary"
74
- BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
75
- BuildableName = "HediaRecommendationScreen.app"
76
- BlueprintName = "HediaRecommendationScreen"
77
- ReferencedContainer = "container:HediaRecommendationScreen.xcodeproj">
78
- </BuildableReference>
79
- </BuildableProductRunnable>
80
- </ProfileAction>
81
- <AnalyzeAction
82
- buildConfiguration = "Debug">
83
- </AnalyzeAction>
84
- <ArchiveAction
85
- buildConfiguration = "Release"
86
- revealArchiveInOrganizer = "YES">
87
- </ArchiveAction>
88
- </Scheme>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "group:HediaRecommendationScreen.xcodeproj">
6
- </FileRef>
7
- <FileRef
8
- location = "group:Pods/Pods.xcodeproj">
9
- </FileRef>
10
- </Workspace>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>
@@ -1,65 +0,0 @@
1
- #import <UIKit/UIKit.h>
2
- #import <XCTest/XCTest.h>
3
-
4
- #import <React/RCTLog.h>
5
- #import <React/RCTRootView.h>
6
-
7
- #define TIMEOUT_SECONDS 600
8
- #define TEXT_TO_LOOK_FOR @"Welcome to React"
9
-
10
- @interface HediaRecommendationScreenTests : XCTestCase
11
-
12
- @end
13
-
14
- @implementation HediaRecommendationScreenTests
15
-
16
- - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
17
- {
18
- if (test(view)) {
19
- return YES;
20
- }
21
- for (UIView *subview in [view subviews]) {
22
- if ([self findSubviewInView:subview matching:test]) {
23
- return YES;
24
- }
25
- }
26
- return NO;
27
- }
28
-
29
- - (void)testRendersWelcomeScreen
30
- {
31
- UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
32
- NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
33
- BOOL foundElement = NO;
34
-
35
- __block NSString *redboxError = nil;
36
- #ifdef DEBUG
37
- RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
38
- if (level >= RCTLogLevelError) {
39
- redboxError = message;
40
- }
41
- });
42
- #endif
43
-
44
- while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
45
- [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
46
- [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
47
-
48
- foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
49
- if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
50
- return YES;
51
- }
52
- return NO;
53
- }];
54
- }
55
-
56
- #ifdef DEBUG
57
- RCTSetLogFunction(RCTDefaultLogFunction);
58
- #endif
59
-
60
- XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
61
- XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
62
- }
63
-
64
-
65
- @end
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>en</string>
7
- <key>CFBundleExecutable</key>
8
- <string>$(EXECUTABLE_NAME)</string>
9
- <key>CFBundleIdentifier</key>
10
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11
- <key>CFBundleInfoDictionaryVersion</key>
12
- <string>6.0</string>
13
- <key>CFBundleName</key>
14
- <string>$(PRODUCT_NAME)</string>
15
- <key>CFBundlePackageType</key>
16
- <string>BNDL</string>
17
- <key>CFBundleShortVersionString</key>
18
- <string>1.0</string>
19
- <key>CFBundleSignature</key>
20
- <string>????</string>
21
- <key>CFBundleVersion</key>
22
- <string>1</string>
23
- </dict>
24
- </plist>
package/ios/Podfile DELETED
@@ -1,32 +0,0 @@
1
- require_relative '../node_modules/react-native/scripts/react_native_pods'
2
- require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
3
-
4
- platform :ios, '11.0'
5
-
6
- target 'HediaRecommendationScreen' do
7
- config = use_native_modules!
8
-
9
- use_react_native!(
10
- :path => config[:reactNativePath],
11
- # to enable hermes on iOS, change `false` to `true` and then install pods
12
- :hermes_enabled => false
13
- )
14
-
15
- pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
16
-
17
- target 'HediaRecommendationScreenTests' do
18
- inherit! :complete
19
- # Pods for testing
20
- end
21
-
22
- # Enables Flipper.
23
- #
24
- # Note that if you have use_frameworks! enabled, Flipper will not work and
25
- # you should disable the next line.
26
- use_flipper!()
27
-
28
- post_install do |installer|
29
- react_native_post_install(installer)
30
- __apply_Xcode_12_5_M1_post_install_workaround(installer)
31
- end
32
- end