esoftplay 0.0.269-beta934b397 → 0.0.269-beta96052d3

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/bin/build.js CHANGED
@@ -300,10 +300,12 @@ yarn-error.log
300
300
  const AppJS = `import { LibNotification } from 'esoftplay/cache/lib/notification/import';
301
301
  import { UserIndex } from 'esoftplay/cache/user/index/import';
302
302
  import * as Notifications from 'expo-notifications';
303
+ import { Platform } from 'react-native';
303
304
  import { SafeAreaProvider } from 'react-native-safe-area-context';
304
305
  import { enableFreeze, enableScreens } from 'react-native-screens';
305
306
 
306
- enableFreeze()
307
+ if (Platform.OS == 'android')
308
+ enableFreeze()
307
309
  enableScreens()
308
310
 
309
311
  Notifications.addNotificationResponseReceivedListener(x => LibNotification.onAction(x));
@@ -1,3 +1,4 @@
1
+ //noPage
1
2
  import esp from 'esoftplay/esp';
2
3
 
3
4
  var crypto
@@ -17,7 +17,7 @@ export interface LibPictureProps {
17
17
  /** Klik [disini](https://github.com/dev-esoftplay/mobile-docs/blob/main/modules/lib/picture.md) untuk melihat dokumentasi*/
18
18
  export default function m(props: LibPictureProps): any {
19
19
 
20
- let resizeMode
20
+ let resizeMode: any
21
21
  if (props?.style?.resizeMode == 'cover')
22
22
  resizeMode = "cover"
23
23
  else if (props?.style?.resizeMode == 'contain')
@@ -35,6 +35,8 @@ export default function m(props: LibPictureProps): any {
35
35
  }
36
36
 
37
37
  return (
38
- <Image {...props} source={source} contentFit={resizeMode} allowDownscaling cachePolicy={"memory-disk"} />
38
+ <Image {...props}
39
+ recyclingKey={props.source.uri}
40
+ source={source} contentFit={resizeMode} allowDownscaling cachePolicy={"memory-disk"} />
39
41
  )
40
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.269-beta934b397",
3
+ "version": "0.0.269-beta96052d3",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",