muba-posting 3.0.12 → 4.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/Posting.js CHANGED
@@ -61,6 +61,7 @@ export default class Posting extends React.Component {
61
61
  adId: this.props.adId,
62
62
  maxPictures: 0,
63
63
  countryPhone: '',
64
+ picturesUploaded: 0,
64
65
  postingAd: {
65
66
  category: null,
66
67
  subCategory: null,
@@ -379,6 +380,10 @@ export default class Posting extends React.Component {
379
380
  await this.setState({ postingAd: { ...this.state.postingAd, adId: responseJson.adId } });
380
381
  this._goToPage(Views.PREVIEW, null, responseJson);
381
382
  }
383
+
384
+ if (this.props.showRatingPopup) {
385
+ this.props.showRatingPopup();
386
+ }
382
387
  }
383
388
  });
384
389
  }
package/commonStyles.js CHANGED
@@ -1016,7 +1016,7 @@ export default StyleSheet.create({
1016
1016
  fontSize: 22,
1017
1017
  color: '#858585',
1018
1018
  fontFamily: 'PostingLight',
1019
- marginTop: Platform.OS === 'ios' ? 0 : 4
1019
+ marginTop: 0
1020
1020
  },
1021
1021
 
1022
1022
  /*----------Radio Button Group----------*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "3.0.12",
3
+ "version": "4.0.1",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {
@@ -18,20 +18,20 @@
18
18
  "homepage": "https://github.com/Mubawab/muba-posting#readme",
19
19
  "dependencies": {
20
20
  "@react-native-async-storage/async-storage": "~1.15.0",
21
- "expo-image-manipulator": "~9.2.2",
22
- "muba-custom-scroll-view": "3",
23
- "muba-display-price": "3",
24
- "muba-font": "3",
25
- "muba-i18n": "3",
26
- "muba-input-select": "3",
27
- "muba-input-text": "3",
28
- "muba-loading-cursor": "3",
29
- "muba-map": "3",
30
- "muba-output-text": "3",
31
- "muba-phone-group": "3",
32
- "muba-picture": "3",
33
- "muba-popup-advice": "3",
34
- "muba-popup-permissions": "3",
35
- "muba-radio-button-group": "3"
21
+ "expo-image-manipulator": "~10.2.0",
22
+ "muba-custom-scroll-view": "4",
23
+ "muba-display-price": "4",
24
+ "muba-font": "4",
25
+ "muba-i18n": "4",
26
+ "muba-input-select": "4",
27
+ "muba-input-text": "4",
28
+ "muba-loading-cursor": "4",
29
+ "muba-map": "4",
30
+ "muba-output-text": "4",
31
+ "muba-phone-group": "4",
32
+ "muba-picture": "4",
33
+ "muba-popup-advice": "4",
34
+ "muba-popup-permissions": "4",
35
+ "muba-radio-button-group": "4"
36
36
  }
37
37
  }