react-native-my-survey-sdk 1.0.8 → 2.0.1

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/ReadMe.md CHANGED
@@ -1 +1 @@
1
- # survey sdk react
1
+ # Survey access through url in our react native app.
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import React, { useContext } from 'react';
2
- import { TouchableOpacity, SafeAreaView, Image } from 'react-native';
1
+ import React from 'react';
2
+ import {SafeAreaView} from 'react-native';
3
3
  import { WebView } from 'react-native-webview';
4
4
 
5
5
 
@@ -7,12 +7,6 @@ const SurveyWebView = ({ url }) => {
7
7
  const SURVEY_URL = url
8
8
  return (
9
9
  <SafeAreaView style={{ flex: 1 }}>
10
- <TouchableOpacity
11
- style={{ alignItems: 'flex-end', right: 15 }}
12
- // onPress={() => navigation?.goBack()}
13
- >
14
- <Image source={require('./assets/close.png')} style={{ height: 15, width: 20 }} />
15
- </TouchableOpacity>
16
10
  <WebView source={{ uri: SURVEY_URL }} />
17
11
  </SafeAreaView>
18
12
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-my-survey-sdk",
3
- "version": "1.0.8",
3
+ "version": "2.0.1",
4
4
  "description": "For xebo.ai",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,11 +9,7 @@
9
9
  "author": "sheetal",
10
10
  "license": "ISC",
11
11
  "peerDependencies": {
12
- "react": "18.3.1",
13
- "react-native": "0.75.4"
14
- },
15
- "dependencies": {
16
- "@react-navigation/native": "^6.1.18",
17
- "@react-navigation/native-stack": "^6.11.0"
12
+ "react": ">=18.2.0 <19.0.0",
13
+ "react-native": ">=0.71.0 <0.80.0"
18
14
  }
19
15
  }
package/assets/close.png DELETED
Binary file