@symbiote-native/store-review 1.0.0 → 3.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 +11 -11
  2. package/package.json +14 -14
package/README.md CHANGED
@@ -14,6 +14,10 @@ and Solid entry points are plain re-exports of the same `core`.
14
14
  npm install @symbiote-native/store-review
15
15
  ```
16
16
 
17
+ Scaffolding or extending a SymbioteNative app? `npx @symbiote-native/cli new --store-review` (or
18
+ `add --store-review` in an existing app) installs and wires this for you — see
19
+ [`@symbiote-native/cli`](../cli).
20
+
17
21
  `expo-store-review` and `expo-modules-core` come along as regular dependencies, pinned to exact
18
22
  versions — never install either yourself, and never add the `expo` meta-package to your project
19
23
  (it bundles its own Metro/Babel pipeline, which conflicts with this project's own).
@@ -56,12 +60,11 @@ src/angular/ @symbiote-native/store-review/angular — export * from '../core'
56
60
 
57
61
  ```tsx
58
62
  // React
59
- import { Button } from '@symbiote-native/react';
60
63
  import { requestReview } from '@symbiote-native/store-review/react';
61
64
 
62
65
  function RateAppButton() {
63
66
  return (
64
- <Button
67
+ <button
65
68
  title="Rate this app"
66
69
  onPress={() =>
67
70
  requestReview({
@@ -78,7 +81,6 @@ function RateAppButton() {
78
81
  ```vue
79
82
  <!-- Vue -->
80
83
  <script setup lang="ts">
81
- import { Button } from '@symbiote-native/vue';
82
84
  import { requestReview } from '@symbiote-native/store-review/vue';
83
85
 
84
86
  function onRatePress() {
@@ -91,14 +93,13 @@ function onRatePress() {
91
93
  </script>
92
94
 
93
95
  <template>
94
- <Button title="Rate this app" @press="onRatePress" />
96
+ <button title="Rate this app" @press="onRatePress" />
95
97
  </template>
96
98
  ```
97
99
 
98
100
  ```svelte
99
101
  <!-- Svelte -->
100
102
  <script lang="ts">
101
- import { Button } from '@symbiote-native/svelte';
102
103
  import { requestReview } from '@symbiote-native/store-review/svelte';
103
104
 
104
105
  function onRatePress(): void {
@@ -110,12 +111,11 @@ function onRatePress() {
110
111
  }
111
112
  </script>
112
113
 
113
- <Button title="Rate this app" onPress={onRatePress} />
114
+ <button title="Rate this app" onPress={onRatePress} />
114
115
  ```
115
116
 
116
117
  ```tsx
117
118
  // Solid
118
- import { Button } from '@symbiote-native/solid';
119
119
  import { requestReview } from '@symbiote-native/store-review/solid';
120
120
 
121
121
  function RateAppButton() {
@@ -126,20 +126,20 @@ function RateAppButton() {
126
126
  'https://play.google.com/store/apps/details?id=com.example.app',
127
127
  });
128
128
 
129
- return <Button title="Rate this app" onPress={onRatePress} />;
129
+ return <button title="Rate this app" onPress={onRatePress} />;
130
130
  }
131
131
  ```
132
132
 
133
133
  ```ts
134
134
  // Angular
135
135
  import { Component } from '@angular/core';
136
- import { Button } from '@symbiote-native/angular';
136
+ import { SYMBIOTE_ELEMENTS } from '@symbiote-native/angular';
137
137
  import { requestReview } from '@symbiote-native/store-review/angular';
138
138
 
139
139
  @Component({
140
140
  standalone: true,
141
- imports: [Button],
142
- template: `<Button title="Rate this app" (press)="onRatePress()" />`,
141
+ imports: [SYMBIOTE_ELEMENTS],
142
+ template: `<button title="Rate this app" (press)="onRatePress()" />`,
143
143
  })
144
144
  export class RateAppButton {
145
145
  onRatePress(): void {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/store-review",
3
- "version": "1.0.0",
3
+ "version": "3.0.0",
4
4
  "description": "expo-store-review wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Prompts the platform's native in-app review flow, with a caller-supplied store-URL fallback in place of upstream's expo-constants-based lookup (this project doesn't depend on expo-constants).",
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/svelte": "^1.0.0",
87
- "@symbiote-native/vue": "^1.0.0"
82
+ "@symbiote-native/angular": "^3.0.0",
83
+ "@symbiote-native/engine": "^1.0.0",
84
+ "@symbiote-native/react": "^3.0.0",
85
+ "@symbiote-native/solid": "^3.0.0",
86
+ "@symbiote-native/svelte": "^3.0.0",
87
+ "@symbiote-native/vue": "^3.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",
140
- "@symbiote-native/test-utils": "0.3.0",
141
- "@symbiote-native/vue": "1.0.0"
135
+ "@symbiote-native/angular": "3.0.0",
136
+ "@symbiote-native/engine": "1.0.0",
137
+ "@symbiote-native/react": "3.0.0",
138
+ "@symbiote-native/solid": "3.0.0",
139
+ "@symbiote-native/svelte": "3.0.0",
140
+ "@symbiote-native/test-utils": "0.3.1",
141
+ "@symbiote-native/vue": "3.0.0"
142
142
  },
143
143
  "scripts": {
144
144
  "typecheck": "tsc --build",