@supportworks/multi-imagepicker 8.0.9 → 8.0.11

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/changes.md CHANGED
@@ -1,3 +1,8 @@
1
+ # v8.0.11 2025-12-05
2
+ * always default to show customer
3
+
4
+ # v8.0.10 2025-12-01
5
+ * removed console log
1
6
 
2
7
  # v8.0.9 2025-12-01
3
8
  * removed unnecessary props from ImageIndicators
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supportworks/multi-imagepicker",
3
- "version": "8.0.9",
3
+ "version": "8.0.11",
4
4
  "description": "Android and iOS customized multiple image picker. For react-native >= 0.60.",
5
5
  "main": "index.js",
6
6
  "author": {
@@ -112,7 +112,7 @@ const SingleImage = (
112
112
  }
113
113
 
114
114
  if (newValue !== initValue) {
115
- console.log("*** RC: SingleImage onDoneEditingInput: field='" + field + "' changed from '" + initValue + "' to '" + newValue + "'")
115
+ //console.log("SingleImage onDoneEditingInput: field='" + field + "' changed from '" + initValue + "' to '" + newValue + "'")
116
116
  Analytics.logEvent('mip_singleImage_' + aType, {
117
117
  source_page: 'MultiImagePicker',
118
118
  initValue,
@@ -68,19 +68,6 @@ export default class MIPickerApi {
68
68
  }
69
69
 
70
70
  async getDefaultShowToCustomer () {
71
- console.log('in getDefaultShowToCustomer')
72
- if ((this._defaultShowToCustomer !== null) && (this._defaultShowToCustomer !== undefined)) {
73
- return this._defaultShowToCustomer
74
- }
75
- console.log('in getDefaultShowToCustomer, trying to get value from AsyncStorage')
76
- // not a value yet, so look in AsyncStorage
77
- const retVal = await AsyncStorage.getItem('@MIP_ShowToCustomer')
78
- if (retVal === 'N') {
79
- console.log('getDefaultShowToCustomer: return false')
80
- return false
81
- } else {
82
- console.log('getDefaultShowToCustomer: return true')
83
- return true
84
- }
71
+ return true
85
72
  }
86
73
  }