Skip to content

Commit

Permalink
added ability to get channel updates via github, improved google and …
Browse files Browse the repository at this point in the history
…android tv support, ads for playstore version, code improvements
  • Loading branch information
aldrinzigmundv committed Oct 1, 2024
1 parent e5f308d commit 19c7be4
Show file tree
Hide file tree
Showing 30 changed files with 883 additions and 826 deletions.
77 changes: 47 additions & 30 deletions Privacy Policy.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,75 @@
**Privacy Policy**
**Privacy Policy (PlayStore version only)**

Aldrin Zigmund C. Velasco built the Digilog TV app as an Open Source app. This SERVICE is provided by Aldrin Zigmund C. Velasco at no cost and is intended for use as is.
This privacy policy applies to the Digilog TV app (hereby referred to as "Application") for mobile devices that was created by Aldrin Zigmund Cortez Velasco (hereby referred to as "Service Provider") as an Ad Supported service. This service is intended for use "AS IS".

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
**Information Collection and Use**

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 Application collects information when you download and use it. This information may include information such as

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Digilog TV unless otherwise defined in this Privacy Policy.
* Your device's Internet Protocol address (e.g. IP address)
* The pages of the Application that you visit, the time and date of your visit, the time spent on those pages
* The time spent on the Application
* The operating system you use on your mobile device

**Information Collection and Use**
The Application does not gather precise information about the location of your mobile device.

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 will be retained on your device and is not collected by me in any way.
The Application collects your device's location, which helps the Service Provider determine your approximate geographical location and make use of in below ways:

**Log Data**
* Geolocation Services: The Service Provider utilizes location data to provide features such as personalized content, relevant recommendations, and location-based services.
* Analytics and Improvements: Aggregated and anonymized location data helps the Service Provider to analyze user behavior, identify trends, and improve the overall performance and functionality of the Application.
* Third-Party Services: Periodically, the Service Provider may transmit anonymized location data to external services. These services assist them in enhancing the Application and optimizing their offerings.

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.
The Service Provider may use the information you provided to contact you from time to time to provide you with important information, required notices and marketing promotions.

**Cookies**
For a better experience, while using the Application, the Service Provider may require you to provide us with certain personally identifiable information. The information that the Service Provider request will be retained by them and used as described in this privacy policy.

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.
**Third Party Access**

This Service does not use these “cookies” explicitly. However, the app may use third-party code and libraries that use “cookies” to collect information and 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.
Only aggregated, anonymized data is periodically transmitted to external services to aid the Service Provider in improving the Application and their service. The Service Provider may share your information with third parties in the ways that are described in this privacy statement.

**Service Providers**
Please note that the Application utilizes third-party services that have their own Privacy Policy about handling data. Below are the links to the Privacy Policy of the third-party service providers used by the Application:

I may employ third-party companies and individuals due to the following reasons:
* [Google Play Services](https://www.google.com/policies/privacy/)
* [AdMob](https://support.google.com/admob/answer/6128543?hl=en)

* 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.
The Service Provider may disclose User Provided and Automatically Collected Information:

I want to inform users of this Service that these third parties have access to their 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.
* as required by law, such as to comply with a subpoena, or similar legal process;
* when they believe in good faith that disclosure is necessary to protect their rights, protect your safety or the safety of others, investigate fraud, or respond to a government request;
* with their trusted services providers who work on their behalf, do not have an independent use of the information we disclose to them, and have agreed to adhere to the rules set forth in this privacy statement.

**Security**
**Opt-Out Rights**

You can stop all collection of information by the Application easily by uninstalling it. You may use the standard uninstall processes as may be available as part of your mobile device or via the mobile application marketplace or network.

**Data Retention Policy**

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.
The Service Provider will retain User Provided data for as long as you use the Application and for a reasonable time thereafter. If you'd like them to delete User Provided Data that you have provided via the Application, please contact them at [email protected] and they will respond in a reasonable time.

**Links to Other Sites**
**Children**

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.
The Service Provider does not use the Application to knowingly solicit data from or market to children under the age of 13.

**Children’s Privacy**
The Application does not address anyone under the age of 13. The Service Provider does not knowingly collect personally identifiable information from children under 13 years of age. In the case the Service Provider discover that a child under 13 has provided personal information, the Service Provider will immediately delete this from their servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact the Service Provider ([email protected]) so that they will be able to take the necessary actions.

I do not knowingly collect personally identifiable information from children. I encourage all children to never submit any personally identifiable information through the Application and/or Services. I encourage parents and legal guardians to monitor their children's Internet usage and to help enforce this Policy by instructing their children never to provide personally identifiable information through the Application and/or Services without their permission. If you have reason to believe that a child has provided personally identifiable information to us through the Application and/or Services, please contact us. You must also be at least 16 years of age to consent to the processing of your personally identifiable information in your country (in some countries we may allow your parent or guardian to do so on your behalf).
**Security**

The Service Provider is concerned about safeguarding the confidentiality of your information. The Service Provider provides physical, electronic, and procedural safeguards to protect information the Service Provider processes and maintains.

**Changes**

**Changes to This Privacy Policy**
This Privacy Policy may be updated from time to time for any reason. The Service Provider will notify you of any changes to the Privacy Policy by updating this page with the new Privacy Policy. You are advised to consult this Privacy Policy regularly for any changes, as continued use is deemed approval of all changes.

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.
This privacy policy is effective as of 2024-10-01

This policy is effective as of 2024-03-04
**Your Consent**

By using the Application, you are consenting to the processing of your information as set forth in this Privacy Policy now and as amended by us.

**Contact Us**

If you have any questions or suggestions about my Privacy Policy, do not hesitate to contact me at [email protected].
If you have any questions regarding privacy while using the Application, or have questions about the practices, please contact the Service Provider via email at [email protected].

* * *

This privacy policy page was created at [privacypolicytemplate.net](https://privacypolicytemplate.net) and modified/generated by [App Privacy Policy Generator](https://app-privacy-policy-generator.nisrulz.com/)
This privacy policy page was generated by [App Privacy Policy Generator](https://app-privacy-policy-generator.nisrulz.com/)
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
[<img src="badges/GetItOnGooglePlay_Badge_Web_color_English.png"
alt="Get it on Google Play"
height="63">](https://play.google.com/store/apps/details?id=io.github.aldrinzigmundv.digilogtv)
[<img src="badges/IzzyOnDroid2.png"
alt="Get it on Google Play"
height="63">](https://apt.izzysoft.de/packages/io.github.aldrinzigmundv.digilogtv/)

Or download the latest APK from the [Releases Section](https://github.com/aldrinzigmundv/digilogtv/releases/latest)

Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ android {
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion
targetSdkVersion 34
versionCode 13
versionName "2.5.0"
versionCode 14
versionName "3.0.0"
multiDexEnabled true
}
signingConfigs {
Expand Down
5 changes: 3 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<!--uses-permission android:name="com.google.android.gms.permission.AD_ID" /-->
<uses-feature android:name="android.software.leanback"
android:required="false" />
<uses-feature android:name="android.hardware.touchscreen"
Expand Down Expand Up @@ -39,9 +40,9 @@
android:name="flutterEmbedding"
android:value="2"
/>
<!-- meta-data
<!--meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="XXX"/ -->
android:value="ca-app-pub-4100835771816662~8163263802"/-->

</application>
</manifest>
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
id "org.jetbrains.kotlin.android" version "2.0.20" apply false
}

include ":app"
Binary file added badges/IzzyOnDroid2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
import 'package:flutter/material.dart';

import 'package:digilogtv/pages/loadingpage.dart';

//AdmobCode
// import 'package:google_mobile_ads/google_mobile_ads.dart';
//AdmobCode

void main() {
WidgetsFlutterBinding.ensureInitialized();

//AdmobCode
// MobileAds.instance.initialize();
//AdmobCode

runApp(const MaterialApp(
title: "Digilog TV",
home: LoadingPage(),
Expand Down
81 changes: 81 additions & 0 deletions lib/models/channel.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
import 'package:hive_flutter/hive_flutter.dart';

enum Source { iptv, youtube }

class SourceAdapter extends TypeAdapter<Source> {
@override
final int typeId = 0;

@override
Source read(BinaryReader reader) {
switch (reader.readByte()) {
case 0:
return Source.iptv;
case 1:
return Source.youtube;
default:
return Source.iptv;
}
}

@override
void write(BinaryWriter writer, Source obj) {
switch (obj) {
case Source.iptv:
writer.writeByte(0);
break;
case Source.youtube:
writer.writeByte(1);
break;
}
}
}

class Channel {
Channel(
{required this.channelName,
required this.link,
required this.source,
required this.contactpage});

String channelName;
String link;
Source source;
String contactpage;

String getChannelName() {
return channelName;
}

factory Channel.fromJson(Map<String, dynamic> json) {
return Channel(
channelName: json['channelName'],
link: json['link'],
source: Source.values.firstWhere((e) => e.toString() == 'Source.' + json['source']),
contactpage: json['contactpage'],
);
}
}

class ChannelAdapter extends TypeAdapter<Channel> {
@override
final int typeId = 1;

@override
Channel read(BinaryReader reader) {
return Channel(
channelName: reader.readString(),
link: reader.readString(),
source: Source.values[reader.readByte()],
contactpage: reader.readString(),
);
}

@override
void write(BinaryWriter writer, Channel obj) {
writer.writeString(obj.channelName);
writer.writeString(obj.link);
writer.writeByte(obj.source.index);
writer.writeString(obj.contactpage);
}
}
Loading

0 comments on commit 19c7be4

Please sign in to comment.