-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
let options = {
fromUrl: url,
toFile: ${path}/${newName}${extension}
,
background: true
};
RNFS.downloadFile(options).promise.then(res => {
cb(null, res)
var tempURl = path+'/'+newName+extension;
try{
var promise = CameraRoll.saveToCameraRoll(tempURl,'photo');
promise.then(succ=>{
alert('succ:'+JSON.stringify(succ));
}).catch(err=>{
alert('err:'+JSON.stringify(err));
})
}catch(err){
alert(err);
}
}).catch(err => {
cb(err)
})
Metadata
Metadata
Assignees
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.