Updates from Tue 17 Mar
- [ReactNative] Remove pushNotification prop from renderApplication | Eric Vicenti - [react_native] Stub VibrationIOS on Android | Andy Street - [ReactNative] Simplify and test interpolators | Christopher Chedeau - [ReactNative] Increase timeout for obj-c tests | Christopher Chedeau - [ReactNative] Updated RKText to new UIManager system | Nick Lockwood - [ReactNative] Unforked RCTShadowView, moved RKTextView into FBReactKitTextModule | Nick Lockwood - [ReactKit] Remove NativeModulesDeprecated | Spencer Ahrens - [ReactNative] Allow single callbacks in NativeModules | Spencer Ahrens - [ReactNative] s/RK/RCT in OSS | Spencer Ahrens - [ReactNative] Cleanup StyleSheet API | Christopher Chedeau - [RCTVibration] Basic Vibration API | Christopher Chedeau - [React Native] Prevent crash in redbox code with two thrown errors | Ben Alpert - [ReactNative] unbreak Android | Andrew Rasmussen
This commit is contained in:
parent
9ed7257614
commit
1923070ad3
|
@ -6,7 +6,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ReactPropTypes = require('ReactPropTypes');
|
var ReactPropTypes = require('ReactPropTypes');
|
||||||
var RKCameraRollManager = require('NativeModules').RKCameraRollManager;
|
var RCTCameraRollManager = require('NativeModules').RCTCameraRollManager;
|
||||||
|
|
||||||
var createStrictShapeTypeChecker = require('createStrictShapeTypeChecker');
|
var createStrictShapeTypeChecker = require('createStrictShapeTypeChecker');
|
||||||
var deepFreezeAndThrowOnMutationInDev =
|
var deepFreezeAndThrowOnMutationInDev =
|
||||||
|
@ -98,7 +98,7 @@ class CameraRoll {
|
||||||
typeof tag === 'string',
|
typeof tag === 'string',
|
||||||
'CameraRoll.saveImageWithTag tag must be a valid string.'
|
'CameraRoll.saveImageWithTag tag must be a valid string.'
|
||||||
);
|
);
|
||||||
RKCameraRollManager.saveImageWithTag(
|
RCTCameraRollManager.saveImageWithTag(
|
||||||
tag,
|
tag,
|
||||||
(imageTag) => {
|
(imageTag) => {
|
||||||
successCallback && successCallback(imageTag);
|
successCallback && successCallback(imageTag);
|
||||||
|
@ -140,7 +140,7 @@ class CameraRoll {
|
||||||
callback(response);
|
callback(response);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
RKCameraRollManager.getPhotos(params, metaCallback, errorCallback);
|
RCTCameraRollManager.getPhotos(params, metaCallback, errorCallback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue