@layers/react-native 0.2.0-alpha.4 → 0.2.0-alpha.5

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.
@@ -89,8 +89,8 @@ class LayersSKAN: NSObject {
89
89
  return
90
90
  }
91
91
 
92
- if #available(iOS 15.4, *) {
93
- // Use SKAN 3.0 API with completion handler
92
+ if #available(iOS 14.5, *) {
93
+ // Use SKAN 2.2+ API with completion handler
94
94
  SKAdNetwork.updateConversionValue(intValue) { error in
95
95
  if let error = error {
96
96
  print("[Layers SKAN] Error updating conversion value: \(error.localizedDescription)")
@@ -102,7 +102,7 @@ class LayersSKAN: NSObject {
102
102
  }
103
103
  }
104
104
  } else if #available(iOS 14.0, *) {
105
- // Use SKAN 2.x API (no completion handler)
105
+ // Use SKAN 2.0 API (no completion handler)
106
106
  SKAdNetwork.updateConversionValue(intValue)
107
107
  conversionValue = intValue
108
108
  print("[Layers SKAN] Conversion value updated to: \(intValue)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layers/react-native",
3
- "version": "0.2.0-alpha.4",
3
+ "version": "0.2.0-alpha.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },