react-native-in-app-debugger 1.0.41 → 1.0.42
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/Api.jsx +6 -1
- package/package.json +1 -1
package/Api.jsx
CHANGED
|
@@ -240,7 +240,12 @@ export default (props) => {
|
|
|
240
240
|
</TouchableOpacity>
|
|
241
241
|
)}
|
|
242
242
|
<TouchableOpacity
|
|
243
|
-
onPress={() =>
|
|
243
|
+
onPress={() => {
|
|
244
|
+
Alert.alert("Are you sure", `You want to blacklist: \n\n(${item.request.method}) ${item.request.url} \n\nwhere all history logs for this API will be removed and all future request for this API will not be recorded?`, [
|
|
245
|
+
{ text: "Blacklist", onPress: () => props.setBlacklists(v => [...v, item.request]), style: "cancel" },
|
|
246
|
+
{ text: "Cancel" },
|
|
247
|
+
])
|
|
248
|
+
}}
|
|
244
249
|
style={styles.actionButton}
|
|
245
250
|
>
|
|
246
251
|
<Text style={{ color: "black", fontSize: 10 }}>Blacklist</Text>
|
package/package.json
CHANGED