@symbiote-native/tracking-transparency 1.0.0 → 2.0.0

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 (2) hide show
  1. package/README.md +44 -44
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -82,15 +82,15 @@ function TrackingScreen() {
82
82
  const [permissionStatus, requestPermission] = usePermissions();
83
83
 
84
84
  return (
85
- <View>
86
- <Text>{permissionStatus?.status ?? 'checking…'}</Text>
87
- <Pressable onPress={() => requestPermission()}>
88
- <Text>Request tracking permission</Text>
89
- </Pressable>
90
- <Pressable onPress={() => console.log(getAdvertisingId())}>
91
- <Text>Log advertising ID</Text>
92
- </Pressable>
93
- </View>
85
+ <view>
86
+ <text>{permissionStatus?.status ?? 'checking…'}</text>
87
+ <pressable onPress={() => requestPermission()}>
88
+ <text>Request tracking permission</text>
89
+ </pressable>
90
+ <pressable onPress={() => console.log(getAdvertisingId())}>
91
+ <text>Log advertising ID</text>
92
+ </pressable>
93
+ </view>
94
94
  );
95
95
  }
96
96
  ```
@@ -106,15 +106,15 @@ const { status: permissionStatus, request: requestPermission } =
106
106
  </script>
107
107
 
108
108
  <template>
109
- <View>
110
- <Text>{{ permissionStatus?.status ?? 'checking…' }}</Text>
111
- <Pressable @press="requestPermission()">
112
- <Text>Request tracking permission</Text>
113
- </Pressable>
114
- <Pressable @press="console.log(getAdvertisingId())">
115
- <Text>Log advertising ID</Text>
116
- </Pressable>
117
- </View>
109
+ <view>
110
+ <text>{{ permissionStatus?.status ?? 'checking…' }}</text>
111
+ <pressable @press="requestPermission()">
112
+ <text>Request tracking permission</text>
113
+ </pressable>
114
+ <pressable @press="console.log(getAdvertisingId())">
115
+ <text>Log advertising ID</text>
116
+ </pressable>
117
+ </view>
118
118
  </template>
119
119
  ```
120
120
 
@@ -130,15 +130,15 @@ import {
130
130
  selector: 'TrackingScreen',
131
131
  standalone: true,
132
132
  template: `
133
- <View>
134
- <Text>{{ permissionStatus()?.status ?? 'checking…' }}</Text>
135
- <Pressable (press)="permissionsService.request()">
136
- <Text>Request tracking permission</Text>
137
- </Pressable>
138
- <Pressable (press)="logAdvertisingId()"
139
- ><Text>Log advertising ID</Text></Pressable
133
+ <view>
134
+ <text>{{ permissionStatus()?.status ?? 'checking…' }}</text>
135
+ <pressable (press)="permissionsService.request()">
136
+ <text>Request tracking permission</text>
137
+ </pressable>
138
+ <pressable (press)="logAdvertisingId()"
139
+ ><text>Log advertising ID</text></pressable
140
140
  >
141
- </View>
141
+ </view>
142
142
  `,
143
143
  })
144
144
  export class TrackingScreen {
@@ -163,15 +163,15 @@ export class TrackingScreen {
163
163
  const permissions = usePermissions();
164
164
  </script>
165
165
 
166
- <View>
167
- <Text>{permissions.status?.status ?? 'checking…'}</Text>
168
- <Pressable onPress={() => permissions.request()}>
169
- <Text>Request tracking permission</Text>
170
- </Pressable>
171
- <Pressable onPress={() => console.log(getAdvertisingId())}>
172
- <Text>Log advertising ID</Text>
173
- </Pressable>
174
- </View>
166
+ <view>
167
+ <text>{permissions.status?.status ?? 'checking…'}</text>
168
+ <pressable onPress={() => permissions.request()}>
169
+ <text>Request tracking permission</text>
170
+ </pressable>
171
+ <pressable onPress={() => console.log(getAdvertisingId())}>
172
+ <text>Log advertising ID</text>
173
+ </pressable>
174
+ </view>
175
175
  ```
176
176
 
177
177
  ```tsx
@@ -184,15 +184,15 @@ function TrackingScreen() {
184
184
  createPermissions();
185
185
 
186
186
  return (
187
- <View>
188
- <Text>{permissionStatus()?.status ?? 'checking…'}</Text>
189
- <Pressable onPress={() => void requestPermission()}>
190
- <Text>Request tracking permission</Text>
191
- </Pressable>
192
- <Pressable onPress={() => console.log(getAdvertisingId())}>
193
- <Text>Log advertising ID</Text>
194
- </Pressable>
195
- </View>
187
+ <view>
188
+ <text>{permissionStatus()?.status ?? 'checking…'}</text>
189
+ <pressable onPress={() => void requestPermission()}>
190
+ <text>Request tracking permission</text>
191
+ </pressable>
192
+ <pressable onPress={() => console.log(getAdvertisingId())}>
193
+ <text>Log advertising ID</text>
194
+ </pressable>
195
+ </view>
196
196
  );
197
197
  }
198
198
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/tracking-transparency",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "expo-tracking-transparency wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. iOS App Tracking Transparency prompt (permission get/request, always-granted on Android/web) plus the advertising-ID getter.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -79,12 +79,12 @@
79
79
  "solid-js": ">=1.9.0",
80
80
  "svelte": ">=5.56.0",
81
81
  "vue": ">=3.5.0",
82
- "@symbiote-native/angular": "^1.0.0",
83
- "@symbiote-native/engine": "^0.4.0",
84
- "@symbiote-native/react": "^1.0.0",
85
- "@symbiote-native/solid": "^1.0.0",
86
- "@symbiote-native/vue": "^1.0.0",
87
- "@symbiote-native/svelte": "^1.0.0"
82
+ "@symbiote-native/angular": "^2.0.0",
83
+ "@symbiote-native/engine": "^0.5.0",
84
+ "@symbiote-native/solid": "^2.0.0",
85
+ "@symbiote-native/react": "^2.0.0",
86
+ "@symbiote-native/svelte": "^2.0.0",
87
+ "@symbiote-native/vue": "^2.0.0"
88
88
  },
89
89
  "peerDependenciesMeta": {
90
90
  "@symbiote-native/angular": {
@@ -132,13 +132,13 @@
132
132
  "solid-js": "^1.9.14",
133
133
  "svelte": "^5.56.0",
134
134
  "typescript": "~6.0.0",
135
- "@symbiote-native/angular": "1.0.0",
136
- "@symbiote-native/engine": "0.4.0",
137
- "@symbiote-native/react": "1.0.0",
138
- "@symbiote-native/solid": "1.0.0",
139
- "@symbiote-native/svelte": "1.0.0",
135
+ "@symbiote-native/angular": "2.0.0",
136
+ "@symbiote-native/engine": "0.5.0",
137
+ "@symbiote-native/react": "2.0.0",
138
+ "@symbiote-native/solid": "2.0.0",
139
+ "@symbiote-native/svelte": "2.0.0",
140
140
  "@symbiote-native/test-utils": "0.3.0",
141
- "@symbiote-native/vue": "1.0.0"
141
+ "@symbiote-native/vue": "2.0.0"
142
142
  },
143
143
  "scripts": {
144
144
  "typecheck": "tsc --build",