Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit c0671fea authored by Francesco Saltori's avatar Francesco Saltori Committed by GitHub
Browse files

Remove outdated and misleading privacy policy (#124)

* Replace old privacy policy with info about used permissions

* Add privacy info to Readme
parent 9d5435e3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -22,7 +22,9 @@
|:-:|:-:|:-:|
| <img src ="https://github.com/JavaCafe01/PdfViewer/blob/dev/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png" width="190" height="340"/> | <img src ="https://github.com/JavaCafe01/PdfViewer/blob/dev/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png" width="190" height="340"/> | <img src ="https://github.com/JavaCafe01/PdfViewer/blob/dev/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png" width="190" height="340"/> |

## Permissions
## Permissions and privacy
This app does not collect any data.  
The following permissions are required to provide specific features in the app:
* *Internet*: For opening PDFs through links
* *Storage*: For saving downloading PDFs and opening them from storage

+20 −2
Original line number Diff line number Diff line
@@ -24,13 +24,18 @@

package com.gsnathan.pdfviewer;

import android.app.Dialog;
import android.content.ActivityNotFoundException;
import android.os.Bundle;

import android.view.MenuItem;
import android.view.View;
import android.widget.Toast;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.DialogFragment;

import com.franmontiel.attributionpresenter.AttributionPresenter;
import com.franmontiel.attributionpresenter.entities.Attribution;
import com.franmontiel.attributionpresenter.entities.License;
@@ -71,7 +76,7 @@ public class AboutActivity extends CyaneaAppCompatActivity {
    }

    public void showPrivacy(View v) {
        startActivity(Utils.linkIntent("https://github.com/JavaCafe01/PdfViewer/blob/master/privacy_policy.md"));
        new PrivacyInfoDialog().show(getSupportFragmentManager(), "privacy_dialog");
    }

    public void showLicense(View v) {
@@ -158,6 +163,7 @@ public class AboutActivity extends CyaneaAppCompatActivity {
    public void navToSourceCode(View v) {
        startActivity(Utils.linkIntent("https://github.com/JavaCafe01/PdfViewer"));
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        if (item.getItemId() == android.R.id.home) {
@@ -167,4 +173,16 @@ public class AboutActivity extends CyaneaAppCompatActivity {
        return false;
    }

    public static class PrivacyInfoDialog extends DialogFragment {
        @NonNull
        @Override
        public Dialog onCreateDialog(@Nullable Bundle savedInstanceState) {
            AlertDialog.Builder builder = new AlertDialog.Builder(requireContext());
            return builder.setTitle(R.string.privacy)
                    .setMessage(R.string.privacy_info)
                    .setPositiveButton(R.string.ok, (dialog, which) -> {})
                    .setIcon(R.drawable.privacy_icon)
                    .create();
        }
    }
}
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -73,4 +73,5 @@
    <string name="wrong_password">Password errata.</string>
    <string name="dark_pdf">Modalità scura per il PDF</string>
    <string name="keep_screen_on">Mantieni lo schermo acceso</string>
    <string name="privacy_info">Questa app non raccoglie alcun dato.\nI seguenti permessi sono richiesti per fornire specifiche funzionalità dell\'applicazione:\n- <b>Internet</b>: aprire i PDF tramite link\n- <b>Archiviazione</b>: aprire file dalla memoria interna, salvare i PDF aperti tramite link</string>
</resources>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -121,4 +121,5 @@

    <string name="dark_pdf">Dark theme for PDF</string>
    <string name="keep_screen_on">Keep the screen on</string>
    <string name="privacy_info">This app does not collect any data.\nThe following permissions are required to provide specific features in the app:\n- <b>Internet</b>: open PDFs through links\n- <b>Storage</b>: open files from storage, save PDFs opened through links</string>
</resources>
 No newline at end of file

privacy_policy.md

deleted100755 → 0
+0 −51
Original line number Diff line number Diff line
# Privacy Policy

Gokul Swaminathan built the Pdf Viewer Plus app as an Open Source app. This SERVICE is provided by Gokul Swaminathan at no cost and is intended for use as is. 
This page is used to inform website visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. 
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. 
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Pdf Viewer Plus unless otherwise defined in this Privacy Policy. 

### Information Collection and Use

For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information. The information that I request is retained on your device and is not collected by me in any way 
The app does use third party services that may collect information used to identify you.
Link to privacy policy of third party service providers used by the app
* [Google Play Services](https://www.google.com/policies/privacy/)
        
### Log Data

I want to inform you that whenever you use my Service, in a case of an error in the app I collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing my Service, the time and date of your use of the Service, and other statistics. 

### Cookies

Cookies are files with small amount of data that is commonly used an anonymous unique identifier. These are sent to your browser from the website that you visit and are stored on your device internal memory. 
This Service does not use these “cookies” explicitly. However, the app may use third party code and libraries that use “cookies” to collection information and to improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service. 

### Service Providers

I may employ third-party companies and individuals due to the following reasons:
* To facilitate our Service;
* To provide the Service on our behalf;
* To perform Service-related services; or
* To assist us in analyzing how our Service is used.
I want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose. 

### Security

I value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and I cannot guarantee its absolute security. 

### Links to Other Sites

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by me. Therefore, I strongly advise you to review the Privacy Policy of these websites. I have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services. 

### Children’s Privacy

These Services do not address anyone under the age of 13. I do not knowingly collect personally identifiable information from children under 13. In the case I discover that a child under 13 has provided me with personal information, I immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact me so that I will be able to do necessary actions. 

### Changes to This Privacy Policy

I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page. These changes are effective immediately after they are posted on this page. 

### Contact Us

If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me.