@inngageregistry/inngage-react 3.3.0-alpha.5 → 3.3.0-alpha.7
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.
- package/package.json +2 -3
- package/src/components/Inapp.tsx +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inngageregistry/inngage-react",
|
|
3
|
-
"version": "3.3.0-alpha.
|
|
3
|
+
"version": "3.3.0-alpha.7",
|
|
4
4
|
"description": "Inngage Plugin for React Native applications for marketing campaign optimization using Push Notification.",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
"react-native-device-info": "^10.6.0",
|
|
27
27
|
"react-native-localize": "^2.2.6",
|
|
28
28
|
"react-native-permissions": "^3.8.0",
|
|
29
|
-
"react-native-push-notification": "^8.1.1"
|
|
30
|
-
"react-native-reanimated-carousel": "^3.5.1"
|
|
29
|
+
"react-native-push-notification": "^8.1.1"
|
|
31
30
|
},
|
|
32
31
|
"devDependencies": {
|
|
33
32
|
"@types/jest": "^29.5.1",
|
package/src/components/Inapp.tsx
CHANGED
|
@@ -18,7 +18,7 @@ import { showAlertLink, isEmpty } from "../utils";
|
|
|
18
18
|
// import { linkInApp } from "../notificationsListener";
|
|
19
19
|
import { styleInapp, styleItem } from './styles';
|
|
20
20
|
|
|
21
|
-
import Carousel from 'react-native-reanimated-carousel';
|
|
21
|
+
// import Carousel from 'react-native-reanimated-carousel';
|
|
22
22
|
|
|
23
23
|
const SLIDER_WIDTH = Dimensions.get('window').width;
|
|
24
24
|
const SLIDER_HEIGHT = Dimensions.get('window').height;
|
|
@@ -302,13 +302,13 @@ export const Inapp = (props: InappProps) => {
|
|
|
302
302
|
>
|
|
303
303
|
<View style={styles.centeredView}>
|
|
304
304
|
<View style={styles.styleContainer}>
|
|
305
|
-
<Carousel
|
|
305
|
+
{/* <Carousel
|
|
306
306
|
loop
|
|
307
307
|
width={sliderWidth}
|
|
308
308
|
data={data}
|
|
309
309
|
renderItem={({ index }) => (
|
|
310
310
|
<Image style={itemStyles.img} source={{ uri: inAppData.rich_content[index] }}></Image>
|
|
311
|
-
)} />
|
|
311
|
+
)} /> */}
|
|
312
312
|
<Text style={itemStyles.title}>{inAppData.title}</Text>
|
|
313
313
|
<Text style={itemStyles.bodyText}>{inAppData.body}</Text>
|
|
314
314
|
<View style={itemStyles.containerButtons}>
|