Skip to content

Commit f6d3d2f

Browse files
FatmeFatme
Fatme
authored and
Fatme
committed
Merge pull request #895 from NativeScript/fatme/more-permissions
Give full permissions to /data/local/tmp/appIdentifier folder
2 parents cc354e1 + f086f2b commit f6d3d2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/services/usb-livesync-service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ export class AndroidUsbLiveSyncService extends androidLiveSyncServiceLib.Android
157157
public restartApplication(deviceAppData: Mobile.IDeviceAppData, localToDevicePaths: Mobile.ILocalToDevicePathData[]): IFuture<void> {
158158
return (() => {
159159
this.device.adb.executeShellCommand(["chmod", "777", deviceAppData.deviceProjectRootPath]).wait();
160+
this.device.adb.executeShellCommand(["chmod", "777", `/data/local/tmp/${deviceAppData.appIdentifier}`]).wait();
160161

161162
if(this.$options.companion) {
162163
let commands = [ this.liveSyncCommands.SyncFilesCommand() ];

0 commit comments

Comments
 (0)