@momo-kits/native-kits 0.158.1-test.3-debug → 0.158.1-test.4-debug

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.
@@ -40,7 +40,7 @@ kotlin {
40
40
  }
41
41
 
42
42
  cocoapods {
43
- version = "0.158.1-test.3-debug"
43
+ version = "0.158.1-test.4-debug"
44
44
  summary = "IOS Shared module"
45
45
  homepage = "https://momo.vn"
46
46
  ios.deploymentTarget = "15.0"
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |spec|
2
2
  spec.name = 'compose'
3
- spec.version = '0.157.1-beta.3'
3
+ spec.version = '0.158.1-test.3'
4
4
  spec.homepage = 'https://momo.vn'
5
5
  spec.source = { :http=> ''}
6
6
  spec.authors = ''
@@ -10,27 +10,20 @@ Pod::Spec.new do |spec|
10
10
  spec.libraries = 'c++'
11
11
  spec.ios.deployment_target = '15.0'
12
12
  spec.dependency 'lottie-ios', '4.4.3'
13
-
14
13
  if !Dir.exist?('build/cocoapods/framework/kits.framework') || Dir.empty?('build/cocoapods/framework/kits.framework')
15
14
  raise "
16
-
17
15
  Kotlin framework 'kits' doesn't exist yet, so a proper Xcode project can't be generated.
18
16
  'pod install' should be executed after running ':generateDummyFramework' Gradle task:
19
-
20
17
  ./gradlew :compose:generateDummyFramework
21
-
22
18
  Alternatively, proper pod installation is performed during Gradle sync in the IDE (if Podfile location is set)"
23
19
  end
24
-
25
20
  spec.xcconfig = {
26
21
  'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO',
27
22
  }
28
-
29
23
  spec.pod_target_xcconfig = {
30
24
  'KOTLIN_PROJECT_PATH' => ':compose',
31
25
  'PRODUCT_MODULE_NAME' => 'kits',
32
26
  }
33
-
34
27
  spec.script_phases = [
35
28
  {
36
29
  :name => 'Build compose',
@@ -38,8 +31,8 @@ Pod::Spec.new do |spec|
38
31
  :shell_path => '/bin/sh',
39
32
  :script => <<-SCRIPT
40
33
  if [ "YES" = "$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED" ]; then
41
- echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\""
42
- exit 0
34
+ echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\""
35
+ exit 0
43
36
  fi
44
37
  set -ev
45
38
  REPO_ROOT="$PODS_TARGET_SRCROOT"
@@ -51,4 +44,4 @@ Pod::Spec.new do |spec|
51
44
  }
52
45
  ]
53
46
  spec.resources = ['build/compose/cocoapods/compose-resources']
54
- end
47
+ end
@@ -9,7 +9,7 @@ import androidx.compose.ui.semantics.semantics
9
9
  import androidx.compose.ui.semantics.testTag
10
10
  import vn.momo.kits.platform.getPlatformName
11
11
 
12
- fun Modifier.setAutomationId(accessibilityId: String, label: String? = null, mergeDescendants: Boolean = false): Modifier {
12
+ fun Modifier.setAutomationId(accessibilityId: String, label: String? = null, mergeDescendants: Boolean = true): Modifier {
13
13
  return if (getPlatformName() == "Android") {
14
14
  semantics {
15
15
  contentDescription = accessibilityId
@@ -19,7 +19,8 @@ fun Modifier.setAutomationId(accessibilityId: String, label: String? = null, mer
19
19
  testTag = accessibilityId
20
20
  contentDescription = label ?: accessibilityId
21
21
  }
22
- }}
22
+ }
23
+ }
23
24
 
24
25
  /**
25
26
  * Alternative for [setAutomationId]
package/gradle.properties CHANGED
@@ -18,7 +18,7 @@ kotlin.apple.xcodeCompatibility.nowarn=true
18
18
  name="ComposeKits"
19
19
  group=vn.momo.kits
20
20
  artifact.id=kits
21
- version=0.158.1-test.3
21
+ version=0.158.1-test.4
22
22
 
23
23
  repo=GitLab
24
24
  url=https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.158.1-test.3-debug",
3
+ "version": "0.158.1-test.4-debug",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},