Skip to content

Commit

Permalink
added new channels from Free-TV/IPTV, fixed issue with Contact Me pag…
Browse files Browse the repository at this point in the history
…e showing an incorrect message
  • Loading branch information
aldrinzigmundv committed Oct 13, 2023
1 parent 8fa83fd commit 4bc19e4
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 12 deletions.
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 20
targetSdkVersion 33
versionCode 6
versionName "1.8.0"
versionCode 7
versionName "1.9.0"
multiDexEnabled true
}
signingConfigs {
Expand Down
6 changes: 3 additions & 3 deletions lib/pages/home pages/channellistpage.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';

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

import 'package:digilogtv/services/storage.dart';
import 'package:digilogtv/services/formatting.dart';
Expand Down Expand Up @@ -94,12 +94,12 @@ class _ChannelListPageState extends State<ChannelListPage> {
super.initState();
storage = widget.storage;
formattingProvider = widget.formattingProvider;
//loadAd();
// loadAd();
}

@override
void dispose() async {
//await _bannerAd?.dispose();
// await _bannerAd?.dispose();
super.dispose();
}

Expand Down
4 changes: 2 additions & 2 deletions lib/pages/home pages/contactpage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ class ContactPage extends StatelessWidget {
const Padding(
padding: EdgeInsets.fromLTRB(18.0, 36.0, 18.0, 18.0),
child: Text(
'You have downloaded the ad-free version of this app. Other ads are provided by their respective TV news channels.',
'You have downloaded the ad-free version of Digilog TV. Other ads are provided by their respective TV news channels.',
style: TextStyle(fontSize: 18.0),
textAlign: TextAlign.center,
),
),
// const Padding(
// padding: EdgeInsets.fromLTRB(18.0, 36.0, 18.0, 18.0),
// child: Text(
// 'You have downloaded the ad-supported version of this app from Google Play. An ad-free version is available on GitHub. Other ads are provided by their respective TV news channels.',
// 'You have downloaded the ad-supported version of Digilog TV from Google Play. An ad-free version is available on GitHub. Other ads are provided by their respective TV news channels.',
// style: TextStyle(fontSize: 18.0),
// textAlign: TextAlign.center,
// ),
Expand Down
8 changes: 4 additions & 4 deletions lib/pages/home pages/favoritespage.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';

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

import 'package:digilogtv/services/storage.dart';
import 'package:digilogtv/services/formatting.dart';
Expand Down Expand Up @@ -69,8 +69,8 @@ class _FavoritesPageState extends State<FavoritesPage> {
}

@override
void dispose() {
//await _bannerAd?.dispose();
void dispose() async {
// await _bannerAd?.dispose();
super.dispose();
}

Expand All @@ -80,7 +80,7 @@ class _FavoritesPageState extends State<FavoritesPage> {
storage = widget.storage;
formattingProvider = widget.formattingProvider;
storage.initializeFavorites();
//loadAd();
// loadAd();
}

@override
Expand Down
3 changes: 3 additions & 0 deletions lib/services/channels.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,16 @@ class Channels {
Channel(channelName: "Africanews", link: "https://www.youtube.com/embed/NQjabLGdP5g?autoplay=1", source: Source.youtube, contactpage: 'https://www.africanews.com/page/contact/'),
Channel(channelName: "Al Jazeera English", link: "https://live-hls-web-aje.getaj.net/AJE/index.m3u8", source: Source.iptv, contactpage: 'https://network.aljazeera.net/en/contact'),
Channel(channelName: "Arirang", link: "http://amdlive.ctnd.com.edgesuite.net/arirang_1ch/smil:arirang_1ch.smil/playlist.m3u8", source: Source.iptv, contactpage: 'https://www.arirang.com/'),
Channel(channelName: "Arise News", link: "https://liveedge-arisenews.visioncdn.com/live-hls/arisenews/arisenews/arisenews_web/master.m3u8", source: Source.iptv, contactpage: "https://www.arise.tv/contact-us/"),
Channel(channelName: "BBC News", link: "http://92.114.85.81:8000/play/a00a/index.m3u8", source: Source.iptv, contactpage: "https://www.bbc.co.uk/contact/questions/getting-in-touch/contact-bbc"),
Channel(channelName: "Bloomberg", link: "https://bloomberg.com/media-manifest/streams/us.m3u8", source: Source.iptv, contactpage: 'https://www.bloomberg.com/professional/support/'),
Channel(channelName: "CBS News", link: "https://cbsnews.akamaized.net/hls/live/2020607/cbsnlineup_8/master.m3u8", source: Source.iptv, contactpage: 'https://www.cbs.com/showfeedback/'),
Channel(channelName: "Channel News Asia", link: "https://www.youtube.com/embed/XWq5kBlakcQ?autoplay=1", source: Source.youtube, contactpage: 'https://www.channelnewsasia.com/contact-us'),
Channel(channelName: "CNBC", link: "https://www.youtube.com/embed/9NyxcX3rhQs?autoplay=1", source: Source.youtube, contactpage: 'https://help.cnbc.com/contact/'),
Channel(channelName: "DW English", link: "https://dwamdstream102.akamaized.net/hls/live/2015525/dwstream102/index.m3u8", source: Source.iptv, contactpage: 'https://corporate.dw.com/en/contact/s-30606'),
Channel(channelName: "Euronews", link: "https://www.youtube.com/embed/pykpO5kQJ98?autoplay=1", source: Source.youtube, contactpage: 'https://www.euronews.com/contact'),
Channel(channelName: "France 24 English", link: "https://www.youtube.com/embed/tkDUSYHoKxE?autoplay=1", source: Source.youtube, contactpage: 'https://www.francemediasmonde.com/en/contact'),
Channel(channelName: "GB News", link: "https://live-gbnews.simplestreamcdn.com/live5/gbnews/bitrate1.isml/manifest.m3u8", source: Source.iptv, contactpage: "https://www.gbnews.com/about-us/contact-us"),
Channel(channelName: "Global News", link: "https://i.mjh.nz/PlutoTV/62cbef9ebb857100072fc187-alt.m3u8", source: Source.iptv, contactpage: 'https://globalnews.ca/pages/contact-us/'),
Channel(channelName: "Newsmax TV", link: "https://nmxlive.akamaized.net/hls/live/529965/Live_1/index.m3u8", source: Source.iptv, contactpage: 'https://www.newsmax.com/contact/'),
Channel(channelName: "NHK World Japan", link: "https://nhkwlive-ojp.akamaized.net/hls/live/2003459/nhkwlive-ojp-en/index_4M.m3u8", source: Source.iptv, contactpage: 'https://www3.nhk.or.jp/nhkworld/en/contact/'),
Expand Down
2 changes: 2 additions & 0 deletions metadata/en-US/changelogs/7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Added new channels from Free-TV/IPTV
* Fixed issue with Contact Me page showing an incorrect message
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: digilogtv
description: A free and open-source TV news app, inspired by Linux Mint's Hypnotix.
publish_to: 'none'
version: 1.8.0
version: 1.9.0

environment:
sdk: '>=3.1.0 <4.0.0'
Expand Down
9 changes: 9 additions & 0 deletions two versions guide
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
List of Files to Change for the Two Versions:
* AndroidManifest.xml
* pubsec.yaml
* main.dart
* channellistpage.dart
* favoritespage.dart
* contactpage.dart

Scrub Ad Units IDs

0 comments on commit 4bc19e4

Please sign in to comment.