[AC-3631] Titanium.Filesystem.hasStoragePermissions() alternative for Windows Phone
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2016-05-22T05:04:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | Windows-Phone |
Reporter | Sanchi Varma |
Assignee | Shak Hossain |
Created | 2016-05-16T11:51:37.000+0000 |
Updated | 2016-05-22T05:04:59.000+0000 |
Description
Hi,
I am developing a cross platform mobile app.
I have used :
function check(val) {
if (!Titanium.Filesystem.hasStoragePermissions()) {
Titanium.Filesystem.requestStoragePermissions(function(event) {
if (!e.success) {
alert('Please grant permission.');
if (val <= 0) {
check(val + 1);
}
}
});
}
return;
}
I am getting error :
[ERROR] Application Error: "Runtime Error during backToStart event: Titanium.Filesystem.hasStoragePermissions is not a function. (In 'Titanium.Filesystem.hasStoragePermissions()', 'Titanium.Filesys
tem.hasStoragePermissions' is undefined)"
I need alternatives for Filesystem APIs for Windows Phone for these 3 APIs :
1) Titanium.Filesystem.hasStoragePermissions
2) Titanium.Filesystem.requestStoragePermissions
3) Titanium.Filesystem.applicationCacheDirectory
I need alternatives for Filesystem APIs for Windows Phone for these 3 APIs : 1) Titanium.Filesystem.hasStoragePermissions 2) Titanium.Filesystem.requestStoragePermissions 3) Titanium.Filesystem.applicationCacheDirectory
Hello [~sanchi1706@gmail.com], Thanks for reporting. We really appreciate your contribution. You have mentioned some feature request for Windows platform in this ticket. These feature will be considered if they are available in native Windows platform. If you find these features to be available in native Windows then please mention that with reference. Thanks in advance
I cant find such features in native Windows API documentation. So I am closing this issue.