Skip to content

Commit 5e89251

Browse files
authored
Merge pull request #63 from aashishksahu/62-error-and-crash-when-creating-folders
62 error and crash when creating folders
2 parents 5d97aa4 + d40911d commit 5e89251

8 files changed

Lines changed: 83 additions & 19 deletions

File tree

README.md

Lines changed: 70 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,72 @@
66
![License](https://img.shields.io/github/license/aashishksahu/SafeSpace.svg)
77
![Downloads](https://img.shields.io/github/downloads/aashishksahu/SafeSpace/total?labelColor=%23102C57&color=%23F8F0E5)
88

9+
<p float="left">
10+
<img width="200px" src="https://github.com/aashishksahu/SafeSpace/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png" />
11+
<img width="200px" src="https://github.com/aashishksahu/SafeSpace/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png" />
12+
<img width="200px" src="https://github.com/aashishksahu/SafeSpace/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png" />
13+
<img width="200px" src="https://github.com/aashishksahu/SafeSpace/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png" />
14+
<img width="200px" src="https://github.com/aashishksahu/SafeSpace/blob/master/fastlane/metadata/android/en-US/images/phoneScreenshots/5.png" />
15+
</p>
16+
917
## Installation
1018

1119
Download the APK from [here](https://github.com/aashishksahu/SafeSpace/releases)
1220

1321
[<img alt="alt_text" width="200px" src="https://user-content.gitlab-static.net/0cdd89e5cc347206465251782615ab91f99a542d/68747470733a2f2f6664726f69642e6769746c61622e696f2f617274776f726b2f62616467652f6765742d69742d6f6e2e706e67" />](https://f-droid.org/en/packages/org.privacymatters.safespace/)
1422
[<img alt="alt_text" width="200px" src="https://github.com/aashishksahu/SafeSpace/blob/be3c70a58220e21d643151e44699e9931d845d77/assets/google-play-badge.png" />](https://play.google.com/store/apps/details?id=org.privacymatters.safespace&pcampaignid=web_share)
23+
1524
## Disclaimer
1625

17-
This app uses the app-specific internal storage to store files, this location is already encrypted by the android system and isn't available to other apps. Safe space app is provided "as is", without any warranty of any kind. It shouldn't be considered as an absolute safe way to store files. The purpose of this app is to create a separate space for valuable and important files for an average user and must not be considered safe if you are a high-profile target for hackers, crime syndicates, government agencies and other such organizations. I recommend investing in a lightweight laptop with more reliable methods of information protection such as Tails OS and VeraCrypt (This is not an endorsement, just a suggestion). It is your sole responsibility what you store in this app.
26+
This app uses the app-specific internal storage to store files, this location is already encrypted
27+
by the android system and isn't available to other apps. Safe space app is provided "as is", without
28+
any warranty of any kind. It shouldn't be considered as an absolute safe way to store files. The
29+
purpose of this app is to create a separate space for valuable and important files for an average
30+
user and must not be considered safe if you are a high-profile target for hackers, crime syndicates,
31+
government agencies and other such organizations. I recommend investing in a lightweight laptop with
32+
more reliable methods of information protection such as Tails OS and VeraCrypt (This is not an
33+
endorsement, just a suggestion). It is your sole responsibility what you store in this app.
1834

1935
## Contributing
2036

2137
Pull requests are welcome. For major changes, please open an issue first
22-
to discuss what you would like to change. This app is new and bound to have a few bugs, it would mean a lot to me if you can contribute to the project in any way possible.
38+
to discuss what you would like to change. This app is new and bound to have a few bugs, it would
39+
mean a lot to me if you can contribute to the project in any way possible.
2340

2441
## Privacy Policy
2542

26-
This app doesn't collect or send any telemetry data to any server, the documents and text files you store stay on your device and cannot be recovered by me in case the device is reset, or the app is uninstalled.
43+
This app doesn't collect or send any telemetry data to any server, the documents and text files you
44+
store stay on your device and cannot be recovered by me in case the device is reset, or the app is
45+
uninstalled.
2746
Whatever happens on your phone stays on your phone (for Safe space app).
2847

2948
## Donations and matters of the green paper 🤑🤑🤑
30-
I've been getting emails from Paypal sending me money, since I have never used Paypal (not very popular in my country), I thought it was a scam. It is only recently (Dec 2023) that I realised that users of my app were sending me money (Thank you for that btw!!).
31-
Currently I am not accepting any monetary contributions as this app is not incuring any expenses apart from a weekend or two of coding. Also, this app is my tiny contribution towards combating the reign of big tech and their malicious ways of business and I want everyone to use the full version of it without any paywalls.
3249

33-
If you'd like to show some love then please contribute by sharing it with your people and also with your friends who code so that the app can be maintained for long term and improvements and features keep coming. Thank you very much for using my app :)
50+
I've been getting emails from Paypal sending me money, since I have never used Paypal (not very
51+
popular in my country), I thought it was a scam. It is only recently (Dec 2023) that I realised that
52+
users of my app were sending me money (Thank you for that btw!!).
53+
Currently I am not accepting any monetary contributions as this app is not incuring any expenses
54+
apart from a weekend or two of coding. Also, this app is my tiny contribution towards combating the
55+
reign of big tech and their malicious ways of business and I want everyone to use the full version
56+
of it without any paywalls.
57+
58+
If you'd like to show some love then please contribute by sharing it with your people and also with
59+
your friends who code so that the app can be maintained for long term and improvements and features
60+
keep coming. Thank you very much for using my app :)
3461

3562
## FAQ
63+
3664
#### What is Safe Space?
37-
Safe space is an app that creates a separate place on your android device to store valuable files. This storage location is not visible to other apps and is encrypted by the system by default.
65+
66+
Safe space is an app that creates a separate place on your android device to store valuable files.
67+
This storage location is not visible to other apps and is encrypted by the system by default.
3868

3969
Features:
40-
* Store files in a secure storage location that is not visible to other apps and is secured by device encryption and Biometric + app PIN authentication (Uses Android KeyStore and Encrypted Shared Preferences). [More info here](https://developer.android.com/training/data-storage/app-specific)
70+
71+
* Store files in a secure storage location that is not visible to other apps and is secured by
72+
device encryption and Biometric + app PIN authentication (Uses Android KeyStore and Encrypted
73+
Shared
74+
Preferences). [More info here](https://developer.android.com/training/data-storage/app-specific)
4175
* Click Pictures and shoot videos within the app
4276
* Open Images, Audio, Video, PDF documents and plain text documents
4377
* Create simple text notes without leaving the app
@@ -47,24 +81,47 @@ Features:
4781
* Completely offline with no telemetry and data collection
4882

4983
#### Who is this app for?
50-
This app is for anyone who wants to store important files on their android phone and are not an active target of high-profile adversaries such as the government or organized crime syndicates and similar adversaries.
84+
85+
This app is for anyone who wants to store important files on their android phone and are not an
86+
active target of high-profile adversaries such as the government or organized crime syndicates and
87+
similar adversaries.
5188

5289
#### Why should I use this app, isn't android pretty "secure" these days?
53-
Storing files on android is a mess, you can see everything in a file manager app (which makes sense) but so can the apps installed on your phone. A lot of apps still require "All files access" permission just to function (which is dangerous in my opinion), and most people don't think twice before allowing this permission. Even if you haven't allowed this permission, most apps require audio, video and media permissions which again can access most files if they are not honest about the MIME types in their app's design.
5490

55-
In simple terms, most apps have file access permissions that are often not required for that app to function (e.g. - MS Office apps) and can actually read sensitive information from your files (e.g. - Aadhar number, PAN number etc.). These apps may not necessarily access information beyond what is required but they have the possibility to do so, which means, that you and your privacy are at the mercy of such app developers.
91+
Storing files on android is a mess, you can see everything in a file manager app (which makes sense)
92+
but so can the apps installed on your phone. A lot of apps still require "All files access"
93+
permission just to function (which is dangerous in my opinion), and most people don't think twice
94+
before allowing this permission. Even if you haven't allowed this permission, most apps require
95+
audio, video and media permissions which again can access most files if they are not honest about
96+
the MIME types in their app's design.
97+
98+
In simple terms, most apps have file access permissions that are often not required for that app to
99+
function (e.g. - MS Office apps) and can actually read sensitive information from your files (e.g. -
100+
Aadhar number, PAN number etc.). These apps may not necessarily access information beyond what is
101+
required but they have the possibility to do so, which means, that you and your privacy are at the
102+
mercy of such app developers.
56103

57104
#### Has there ever been a security audit?
58-
There hasn't been a security audit yet but the app doesn't use any non-standard ways of security, this app uses device encryption and uses system biometric authentication along with app pin as security measures.
105+
106+
There hasn't been a security audit yet but the app doesn't use any non-standard ways of security,
107+
this app uses device encryption and uses system biometric authentication along with app pin as
108+
security measures.
59109
If you are a security researcher, it would be great if you can provide insights on my app.
60110

61111
#### Why should I use this app, XYZ app is better?
112+
62113
I respect your choice.
63114

64115
Still... maybe take a look at [this.](https://github.com/aashishksahu/SafeSpace/issues/8)
65116

66117
#### Who am I and why should you trust me?
67-
I am a full-time SAP technical consultant from India and developing this app was a hobby project which came into existence mostly because there's no good and reliable way of storing files on android devices. Also, you don't have to trust me, the code is open source, so you can take a look and I would be very happy if you choose to contribute. Besides that this app doesn't have internet permissions and does not use any google play services or firebase or 3rd-party analytics and telemetry services. Again don't trust me, just check the code :)
118+
119+
I am a full-time SAP technical consultant from India and developing this app was a hobby project
120+
which came into existence mostly because there's no good and reliable way of storing files on
121+
android devices. Also, you don't have to trust me, the code is open source, so you can take a look
122+
and I would be very happy if you choose to contribute. Besides that this app doesn't have internet
123+
permissions and does not use any google play services or firebase or 3rd-party analytics and
124+
telemetry services. Again don't trust me, just check the code :)
68125

69126
## Contact Me
70127

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ android {
1616

1717
minSdk 29
1818
targetSdk 34
19-
versionCode 31
20-
versionName "2.0.0"
19+
versionCode 32
20+
versionName "2.0.1"
2121

2222
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2323
vectorDrawables {

app/release/app-release.apk

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

app/release/output-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"type": "SINGLE",
1212
"filters": [],
1313
"attributes": [],
14-
"versionCode": 31,
15-
"versionName": "2.0.0",
14+
"versionCode": 32,
15+
"versionName": "2.0.1",
1616
"outputFile": "app-release.apk"
1717
}
1818
],

app/src/main/java/org/privacymatters/safespace/experimental/main/NaturalSort.kt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ package org.privacymatters.safespace.experimental.main
55
https://github.com/ritwik12/NaturalSort/blob/master/NaturalSort.java
66
*/
77

8-
fun compareRight(s1: String, s2: String): Int {
8+
fun compareRight(str1: String, str2: String): Int {
9+
val s1 = "$str1."
10+
val s2 = "$str2."
11+
912
var temp = 0
1013
var strIndex1 = 0
1114
var strIndex2 = 0
@@ -106,7 +109,10 @@ fun naturalCompareAscending(o1: Item, o2: Item): Int {
106109
}
107110

108111

109-
fun compareLeft(s1: String, s2: String): Int {
112+
fun compareLeft(str1: String, str2: String): Int {
113+
val s1 = "$str1."
114+
val s2 = "$str2."
115+
110116
var temp = 0
111117
var strIndex1 = 0
112118
var strIndex2 = 0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bug fixes and improvements

0 commit comments

Comments
 (0)