Compare commits

...

23 Commits

Author SHA1 Message Date
Imran
e061e99451 Merge pull request #2266 from ImranR98/dev
Bugfix
2025-04-27 04:57:22 +00:00
Imran Remtulla
a282080fea Fix bug from previous commit 2025-04-27 00:55:57 -04:00
Imran Remtulla
0b812b508a Fix bug from previous commit 2025-04-27 00:54:03 -04:00
Imran
e639758b15 Merge pull request #2265 from ImranR98/dev
- Always follow redirects and store cookies between redirects, including for downloads —useful for https://xeiaso.net/blog/2025/anubis (https://github.com/ImranR98/Obtainium/issues/2264)
- Even more flexibility in the HTML source — JSON string extraction fallback (https://github.com/ImranR98/Obtainium/issues/2262)
2025-04-27 04:15:43 +00:00
Imran Remtulla
f159c0bd44 Upgrade packages, increment version 2025-04-27 00:13:21 -04:00
Imran Remtulla
950bf28289 Even more flexibility in the HTML source — JSON string extraction fallback (#2262) 2025-04-27 00:10:06 -04:00
Imran Remtulla
ecf4326b47 Always follow redirects and store cookies between redirects, including for downloads —useful for https://xeiaso.net/blog/2025/anubis (#2264) 2025-04-26 23:48:15 -04:00
Imran
98182d9873 Merge pull request #2256 from ImranR98/dev
Minor bug: avoid showing empty dialog when notifications tapped (#2250)
2025-04-22 18:57:23 -04:00
Imran Remtulla
c7c6731732 Upgrade packages, increment version 2025-04-22 18:50:47 -04:00
Imran Remtulla
b62b60d9df Minor bug: avoid showing empty dialog when notifications tapped (#2250) 2025-04-20 19:01:14 -04:00
Imran
3e41913153 Merge pull request #2247 from ImranR98/dev
- Remove Oxford comma (#2245) 
- Show error dialog box when error notification tapped (#2246)
2025-04-18 16:37:35 -04:00
Imran Remtulla
6b4943349a Upgrade packages + Flutter, increment version 2025-04-18 16:35:54 -04:00
Imran Remtulla
2f60835801 Add pt_BR to language list, rename pt, standardize languages 2025-04-18 16:30:30 -04:00
Imran Remtulla
3de2121ed8 Merge remote-tracking branch 'origin/main' into dev 2025-04-18 16:24:39 -04:00
Imran
e1c80229ab Merge pull request #2183 from UjuiUjuMandan/coolapk
Add CoolApk
2025-04-18 16:24:25 -04:00
Imran
e9feaf0d8b Merge pull request #2228 from lucasmz-dev/main
i10n: pt-BR
2025-04-18 16:24:02 -04:00
Imran Remtulla
3175597a2a Remove Oxford comma (#2245) 2025-04-18 16:08:06 -04:00
Imran Remtulla
6af1748a78 Show error dialog box when error notification tapped (#2246) 2025-04-18 16:05:16 -04:00
UjuiUjuMandan
c9aed8dfc4 clean up debug prints 2025-04-14 04:49:11 +00:00
Lucas
9c3bdafa47 Rename pt-BR.json to pt-BR.json 2025-04-06 17:36:42 +00:00
Lucas
d4e857f7f4 Rename obtainium-unofficial-app-pt_BR.json to pt-BR.json 2025-04-06 17:36:20 +00:00
Lucas
74d6ffcfb3 Add files via upload 2025-04-06 17:33:43 +00:00
UjuiUjuMandan
988f9a6f9f Add CoolApk 2025-03-13 12:54:28 +00:00
39 changed files with 850 additions and 155 deletions

View File

@@ -30,6 +30,7 @@ Currently supported App sources:
- [Uptodown](https://uptodown.com/)
- [Huawei AppGallery](https://appgallery.huawei.com/)
- [Tencent App Store](https://sj.qq.com/)
- [CoolApk](https://coolapk.com/)
- [RuStore](https://rustore.ru/)
- Jenkins Jobs
- [APKMirror](https://apkmirror.com/) (Track-Only)

View File

@@ -320,11 +320,12 @@
"stayOneVersionBehind": "Stay one version behind latest",
"refreshBeforeDownload": "Refresh app details before download",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Name",
"smartname": "Name (Smart)",
"sortMethod": "Sort Method",
"welcome": "Welcome",
"documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions, and other resources that will help you understand how to use the app.",
"documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions and other resources that will help you understand how to use the app.",
"removeAppQuestion": {
"one": "Želite li ukloniti aplikaciju?",
"other": "Želite li ukloniti aplikacije?"

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Roman a la versió anterior a l'última",
"refreshBeforeDownload": "Actualitza les dades de l'aplicació abans de descarregar-la",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Nom",
"smartname": "Nom (smart)",
"sortMethod": "Mètode d'ordenació",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Zůstaňte o jednu verzi pozadu za nejnovější",
"refreshBeforeDownload": "Obnovení údajů o aplikaci před stažením",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Název",
"smartname": "Název (Smart)",
"sortMethod": "Metoda třídění",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Forbliv én version bagud den seneste",
"refreshBeforeDownload": "Opdater app-detaljer før download",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Navn",
"smartname": "Navn (Smart)",
"sortMethod": "Sorteringsmetode",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Eine Version hinter der neuesten Version bleiben",
"refreshBeforeDownload": "App-Details vor dem Download aktualisieren",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Name",
"smartname": "Name (Smart)",
"sortMethod": "Sortierverfahren",

View File

@@ -320,11 +320,12 @@
"stayOneVersionBehind": "Stay one version behind latest",
"refreshBeforeDownload": "Refresh app details before download",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Name",
"smartname": "Name (Smart)",
"sortMethod": "Sort Method",
"welcome": "Welcome",
"documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions, and other resources that will help you understand how to use the app.",
"documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions and other resources that will help you understand how to use the app.",
"removeAppQuestion": {
"one": "Forigi la aplikaĵon?",
"other": "Forigi la aplikaĵojn?"

View File

@@ -320,11 +320,12 @@
"stayOneVersionBehind": "Stay one version behind latest",
"refreshBeforeDownload": "Refresh app details before download",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Name",
"smartname": "Name (smart)",
"sortMethod": "Sort method",
"welcome": "Welcome",
"documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions, and other resources that will help you understand how to use the app.",
"documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions and other resources that will help you understand how to use the app.",
"removeAppQuestion": {
"one": "Remove App?",
"other": "Remove Apps?"

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Mantenerse una versión por detrás de la última",
"refreshBeforeDownload": "Actualiza los datos de la aplicación antes de descargarla",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Nombre",
"smartname": "Nombre (Smart)",
"sortMethod": "Método de clasificación",

View File

@@ -320,11 +320,12 @@
"stayOneVersionBehind": "یک نسخه از آخرین نسخه پشت سر بگذارید",
"refreshBeforeDownload": "قبل از دانلود، جزئیات برنامه را بازخوانی کنید",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Name",
"smartname": "Name (Smart)",
"sortMethod": "Sort Method",
"welcome": "Welcome",
"documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions, and other resources that will help you understand how to use the app.",
"documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions and other resources that will help you understand how to use the app.",
"removeAppQuestion": {
"one": "برنامه حذف شود؟",
"other": "برنامه ها حذف شوند؟"

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Rester une version en arrière de la dernière",
"refreshBeforeDownload": "Actualiser les détails de l'application avant de la télécharger",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Nom",
"smartname": "Nom (Smart)",
"sortMethod": "Méthode de tri",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Maradjon egy verzióval a legújabb mögött",
"refreshBeforeDownload": "Az alkalmazás adatainak frissítése a letöltés előtt",
"tencentAppStore": "Tencent Appstore",
"coolApk": "CoolApk",
"name": "Név",
"smartname": "Név (Okos)",
"sortMethod": "Rendezési eljárás",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Tetap satu versi di belakang versi terbaru",
"refreshBeforeDownload": "Segarkan detail aplikasi sebelum mengunduh",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Nama",
"smartname": "Nama (Cerdas)",
"sortMethod": "Metode Penyortiran",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Rimanere una versione indietro rispetto alla più recente",
"refreshBeforeDownload": "Aggiornare i dettagli dell'app prima del download",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Nome",
"smartname": "Nome (intelligente)",
"sortMethod": "Metodo di ordinamento",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "最新のバージョンから1つ前のものを使用する",
"refreshBeforeDownload": "ダウンロード前にアプリの詳細を更新する",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "名称",
"smartname": "名前(スマート)",
"sortMethod": "ソート方法",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "최신 버전보다 한 버전 뒤에 머무르기",
"refreshBeforeDownload": "다운로드 전에 앱 세부 정보 새로 고침",
"tencentAppStore": "텐센트 앱 스토어",
"coolApk": "CoolApk",
"name": "이름",
"smartname": "이름(스마트)",
"sortMethod": "정렬 방법",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Blijf een versie achter op de nieuwste",
"refreshBeforeDownload": "Vernieuw app details voor download",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Naam",
"smartname": "Naam (Slim)",
"sortMethod": "Sorteermethode",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Pozostań jedną wersję w tyle za najnowszą",
"refreshBeforeDownload": "Odśwież szczegóły aplikacji przed pobraniem",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Nazwa",
"smartname": "Nazwa (Smart)",
"sortMethod": "Metoda sortowania",

View File

@@ -0,0 +1,389 @@
{
"invalidURLForSource": "Não é uma URL de app válida de {}",
"noReleaseFound": "Não foi possível encontrar um lançamento adequado",
"noVersionFound": "Não foi possível determinar a versão do lançamento",
"urlMatchesNoSource": "A URL não corresponde com nenhuma fonte conhecida",
"cantInstallOlderVersion": "Não é possível instalar uma versão mais antiga de um app",
"appIdMismatch": "O ID do pacote baixado não corresponde ao existente",
"functionNotImplemented": "Essa classe não implementou esse recurso ainda",
"placeholder": "Espaço reservado",
"someErrors": "Ocorreram alguns erros",
"unexpectedError": "Erro inesperado",
"ok": "Ok",
"and": "e",
"githubPATLabel": "Token de acesso pessoal do GitHub (aumenta o limite de taxa)",
"includePrereleases": "Incluir pré-lançamentos",
"fallbackToOlderReleases": "Recorrer à lançamentos mais antigos",
"filterReleaseTitlesByRegEx": "Filtrar títulos de lançamentos por expressão regular",
"invalidRegEx": "Expressão regular inválida",
"noDescription": "Sem descrição",
"cancel": "Cancelar",
"continue": "Continuar",
"requiredInBrackets": "(obrigatório)",
"dropdownNoOptsError": "ERRO: O MENU DEVE TER PELO MENOS UMA OPÇÃO",
"colour": "Cor",
"standard": "Padrão",
"custom": "Personalizado",
"useMaterialYou": "Usar Material You",
"githubStarredRepos": "Repositórios com estrela do GitHub",
"uname": "Nome de usuário",
"wrongArgNum": "Número errado de argumentos fornecidos",
"xIsTrackOnly": "{} é somente de rastreio",
"source": "Fonte",
"app": "App",
"appsFromSourceAreTrackOnly": "Apps desta fonte são somente para rastreamento.",
"youPickedTrackOnly": "Você selecionou a opção de somente rastreamento.",
"trackOnlyAppDescription": "As atualizações do app serão rastreadas, mas o Obtainium não baixará ou instalará elas.",
"cancelled": "Cancelado",
"appAlreadyAdded": "O app já foi adicionado",
"alreadyUpToDateQuestion": "O app já está atualizado?",
"addApp": "Adicionar app",
"appSourceURL": "URL da fonte do app",
"error": "Erro",
"add": "Adicionar",
"searchSomeSourcesLabel": "Pesquisar (somente algumas fontes)",
"search": "Pesquisar",
"additionalOptsFor": "Opções adicionais de {}",
"supportedSources": "Fontes suportadas",
"trackOnlyInBrackets": "(somente rastreamento)",
"searchableInBrackets": "(pesquisável)",
"appsString": "Apps",
"noApps": "Nenhum app",
"noAppsForFilter": "Nenhum app pro filtro",
"byX": "Por {}",
"percentProgress": "Progresso: {}%",
"pleaseWait": "Por favor aguarde",
"updateAvailable": "Atualização disponível",
"notInstalled": "Não instalado",
"pseudoVersion": "pseudo-versão",
"selectAll": "Selecionar tudo",
"deselectX": "Desselecionar {}",
"xWillBeRemovedButRemainInstalled": "{} será removido do Obtainium mas continuará instalado no dispositivo.",
"removeSelectedAppsQuestion": "Remover os apps selecionados?",
"removeSelectedApps": "Remover apps selecionados",
"updateX": "Atualizar {}",
"installX": "Instalar {}",
"markXTrackOnlyAsUpdated": "Marcar {}\n(somente rastreamento)\ncomo atualizado",
"changeX": "Alterar {}",
"installUpdateApps": "Instalar/atualizar apps",
"installUpdateSelectedApps": "Instalar/atualizar apps selecionados",
"markXSelectedAppsAsUpdated": "Marcar os {} apps selecionados como atualizados?",
"no": "Não",
"yes": "Sim",
"markSelectedAppsUpdated": "Marcar apps selecionados como atualizados",
"pinToTop": "Fixar ao topo",
"unpinFromTop": "Desfixar do topo",
"resetInstallStatusForSelectedAppsQuestion": "Redefinir o estado de instalação dos apps selecionados?",
"installStatusOfXWillBeResetExplanation": "Os estados de instalação dos apps selecionados serão redefinidos.\n\nIsso pode ajudar quando a versão exibida no Obtainium está incorreta devido a atualizações malsucedidas ou outros problemas.",
"customLinkMessage": "Esses links funcionarão em dispositivos com o Obtainium instalado",
"shareAppConfigLinks": "Compartilhar configuração do app como um link HTML",
"shareSelectedAppURLs": "Compartilhar as URLs dos apps selecionados",
"resetInstallStatus": "Redefinir estado de instalação",
"more": "Mais",
"removeOutdatedFilter": "Remover filtro de apps desatualizados",
"showOutdatedOnly": "Mostrar somente apps desatualizados",
"filter": "Filtro",
"filterApps": "Filtrar apps",
"appName": "Nome do app",
"author": "Autor",
"upToDateApps": "Apps atualizados",
"nonInstalledApps": "Apps não instalados",
"importExport": "Importar/Exportar",
"settings": "Configurações",
"exportedTo": "Exportado para {}",
"obtainiumExport": "Exportação do Obtainium",
"invalidInput": "Entrada inválida",
"importedX": "{} importado(s)",
"obtainiumImport": "Importação do Obtainium",
"importFromURLList": "Importar da lista de URLs",
"searchQuery": "Consulta de pesquisa",
"appURLList": "Lista de URLs dos apps",
"line": "Linha",
"searchX": "Pesquisar {}",
"noResults": "Nenhum resultado encontrado",
"importX": "Importar {}",
"importedAppsIdDisclaimer": "Os apps importados podem ser exibidos incorretamente como se não estivessem instalados.\nPara resolver isso, reinstale eles pelo Obtainium.\nIsso não afetará os dados dos apps.\n\nIsso somente afeta a URL e os métodos de importação de terceiros.",
"importErrors": "Erros de importação",
"importedXOfYApps": "{} de {} foram importados.",
"followingURLsHadErrors": "As seguintes URLs tiveram erros:",
"selectURL": "Selecionar URL",
"selectURLs": "Selecionar URLs",
"pick": "Escolher",
"theme": "Tema",
"dark": "Escuro",
"light": "Claro",
"followSystem": "Seguir o sistema",
"followSystemThemeExplanation": "Só é possível seguir o tema do sistema ao usar aplicativos de terceiros",
"useBlackTheme": "Usar o tema escuro de preto profundo",
"appSortBy": "Ordenar apps por",
"authorName": "Autor/nome",
"nameAuthor": "Nome/autor",
"asAdded": "Como adicionados",
"appSortOrder": "Ordem dos apps",
"ascending": "Crescente",
"descending": "Decrescente",
"bgUpdateCheckInterval": "Intervalo de busca por atualizações em segundo plano",
"neverManualOnly": "Nunca - somente manualmente",
"appearance": "Aparência",
"showWebInAppView": "Mostrar a fonte da pagina web na tela de apps",
"pinUpdates": "Fixar atualizações no topo da tela de apps",
"updates": "Atualizações",
"sourceSpecific": "Específico à fonte",
"appSource": "Fonte do app",
"noLogs": "Nenhum registro",
"appLogs": "Registros do app",
"close": "Fechar",
"share": "Compartilhar",
"appNotFound": "O app não foi encontrado",
"obtainiumExportHyphenatedLowercase": "obtainium-export",
"pickAnAPK": "Selecione um APK",
"appHasMoreThanOnePackage": "{} tem mais de um pacote:",
"deviceSupportsXArch": "Seu dispositivo suporta a arquitetura de CPU {}.",
"deviceSupportsFollowingArchs": "Seu dispositivo suporta as seguintes arquiteturas de CPU:",
"warning": "Alerta",
"sourceIsXButPackageFromYPrompt": "A fonte do app é '{}' mas o pacote de lançamento vem de '{}'. Continuar mesmo assim?",
"updatesAvailable": "Atualizações disponíveis",
"updatesAvailableNotifDescription": "Notifica o usuário que atualizações estão disponíveis para um ou mais apps rastreados pelo Obtainium",
"noNewUpdates": "Nenhuma atualização disponível.",
"xHasAnUpdate": "{} tem uma atualização.",
"appsUpdated": "Apps atualizados",
"appsNotUpdated": "Falhou ao atualizar os aplicativos",
"appsUpdatedNotifDescription": "Notifica o usuário que atualizações de um ou mais apps foram aplicadas em segundo plano",
"xWasUpdatedToY": "{} foi atualizado para a versão {}.",
"xWasNotUpdatedToY": "Falha ao atualizar {} para a versão {}.",
"errorCheckingUpdates": "Ocorreu um erro ao buscar atualizações",
"errorCheckingUpdatesNotifDescription": "Uma notificação que mostra quando a busca de atualizações em segundo plano falha",
"appsRemoved": "Apps removidos",
"appsRemovedNotifDescription": "Notifica o usuário que um ou mais apps foram removidos devido a erros ao carregá-los",
"xWasRemovedDueToErrorY": "{} for removido devido ao erro: {}",
"completeAppInstallation": "Concluir instalação do app",
"obtainiumMustBeOpenToInstallApps": "O Obtainium precisa estar aberto para instalar apps",
"completeAppInstallationNotifDescription": "Pede pro usuário voltar ao Obtainium para concluir a instalação de um app",
"checkingForUpdates": "Buscando atualizações",
"checkingForUpdatesNotifDescription": "Notificação transitória que aparece ao buscar atualizações",
"pleaseAllowInstallPerm": "Permita que o Obtainium instale apps",
"trackOnly": "Somente rastreamento",
"errorWithHttpStatusCode": "Erro {}",
"versionCorrectionDisabled": "Correção de versão desativada (o plugin parece não funcionar)",
"unknown": "Desconhecido",
"none": "Nenhum",
"never": "Nunca",
"latestVersionX": "Mais recente: {}",
"installedVersionX": "Instalado: {}",
"lastUpdateCheckX": "Última busca por atualizações: {}",
"remove": "Remover",
"yesMarkUpdated": "Sim, marcar como atualizado",
"fdroid": "Oficial do F-Droid",
"appIdOrName": "ID do app ou nome",
"appId": "ID do app",
"appWithIdOrNameNotFound": "Nenhum app foi encontrado com aquele ID ou nome",
"reposHaveMultipleApps": "Repositórios podem conter vários apps",
"fdroidThirdPartyRepo": "Repositório de terceiros do F-Droid",
"install": "Instalar",
"markInstalled": "Marcar como instalado",
"update": "Atualizar",
"markUpdated": "Marcar como atualizado",
"additionalOptions": "Opções adicionais",
"disableVersionDetection": "Desativar detecção de versão",
"noVersionDetectionExplanation": "Essa opção só seve ser usada para apps aonde a detecção de versão não funciona corretamente.",
"downloadingX": "Baixando {}",
"downloadX": "Baixar {}",
"downloadedX": "{} foi baixado",
"releaseAsset": "Item de lançamento",
"downloadNotifDescription": "Notifica o usuário do progresso ao baixar um app",
"noAPKFound": "Nenhum APK encontrado",
"noVersionDetection": "Sem detecção de versão",
"categorize": "Categorizar",
"categories": "Categorias",
"category": "Categoria",
"noCategory": "Nenhuma categoria",
"noCategories": "Nenhuma categoria",
"deleteCategoriesQuestion": "Excluir categorias?",
"categoryDeleteWarning": "Todos os apps em categorias excluídas ficarão sem categoria.",
"addCategory": "Adicionar categoria",
"label": "Rótulo",
"language": "Idioma",
"copiedToClipboard": "Copiado para a área de transferência",
"storagePermissionDenied": "Permissão de armazenamento negada",
"selectedCategorizeWarning": "Isso substituirá a configuração de categoria existente dos apps selecionados.",
"filterAPKsByRegEx": "Filtrar APKs por expressão regular",
"removeFromObtainium": "Remover do Obtainium",
"uninstallFromDevice": "Desinstalar do dispositivo",
"onlyWorksWithNonVersionDetectApps": "Funciona somente em apps com a detecção de versão desativada.",
"releaseDateAsVersion": "Usar data de lançamento como número da versão",
"releaseTitleAsVersion": "Usar título do lançamento como número da versão",
"releaseDateAsVersionExplanation": "Essa opção só deve ser usada para apps quais a detecção de versão não funciona corretamente, mas uma data de lançamento está disponível.",
"changes": "Alterações",
"releaseDate": "Data de lançamento",
"importFromURLsInFile": "Importar das URLs em arquivo (como OPML)",
"versionDetectionExplanation": "Combinar o número da versão com a versão detectada pelo sistema",
"versionDetection": "Detecção de versão",
"standardVersionDetection": "Detecção de versão padrão",
"groupByCategory": "Agrupar por categoria",
"autoApkFilterByArch": "Tentar filtrar APKs pela arquitetura da CPU quando possível",
"autoLinkFilterByArch": "Tentar filtrar links pela arquitetura da CPU quando possível",
"overrideSource": "Sobrescrever fonte",
"dontShowAgain": "Não mostrar isso novamente",
"dontShowTrackOnlyWarnings": "Não mostrar alertas de \"somente rastreamento\"",
"dontShowAPKOriginWarnings": "Não mostrar alertas de origem dos APKs",
"moveNonInstalledAppsToBottom": "Mover apps não instalados ao final da tela de apps",
"gitlabPATLabel": "Token de acesso pessoal do GitLab",
"about": "Sobre",
"requiresCredentialsInSettings": "{} precisa de credenciais adicionais (nas Configurações)",
"checkOnStart": "Buscar atualizações ao abrir o app",
"tryInferAppIdFromCode": "Tentar inferir o ID do app pelo código fonte",
"removeOnExternalUninstall": "Remover automaticamente apps desinstalados externamente",
"pickHighestVersionCode": "Selecionar APK de versão mais alta automaticamente",
"checkUpdateOnDetailPage": "Buscar atualizações ao abrir a tela de detalhes de um app",
"disablePageTransitions": "Desativar animações de transição de tela",
"reversePageTransitions": "Inverter animações de transição de tela",
"minStarCount": "Número de estrelas mínimo",
"addInfoBelow": "Adicione essa informação abaixo.",
"addInfoInSettings": "Adicione essa informação nas Configurações.",
"githubSourceNote": "O limite de taxa do GitHub pode ser evitado ao usar uma chave de API.",
"sortByLastLinkSegment": "Ordenar somente pelo ultimo segmento do link",
"filterReleaseNotesByRegEx": "Filtrar notas de lançamento por expressão regular",
"customLinkFilterRegex": "Filtro de link de APK personalizado por expressão regular (padrão '.apk$')",
"appsPossiblyUpdated": "Tentativas de atualização de apps",
"appsPossiblyUpdatedNotifDescription": "Notifica o usuário que atualizações de um ou mais apps podem ter sido aplicadas em segundo plano",
"xWasPossiblyUpdatedToY": "{} pode ter sido atualizado para a versão {}.",
"enableBackgroundUpdates": "Ativar atualizações em segundo plano",
"backgroundUpdateReqsExplanation": "Atualizações em segundo plano podem não funcionar com todos os apps.",
"backgroundUpdateLimitsExplanation": "O sucesso de uma instalação em segundo plano só pode ser determinada ao abrir o Obtainium.",
"verifyLatestTag": "Verificar a tag 'mais recente'",
"intermediateLinkRegex": "Filtrar por um link 'intermediário' para visitar",
"filterByLinkText": "Filtrar links por texto do link",
"intermediateLinkNotFound": "Link intermediário não encontrado",
"intermediateLink": "Link intermediário",
"exemptFromBackgroundUpdates": "Isento de atualizações em segundo plano (caso ativadas)",
"bgUpdatesOnWiFiOnly": "Desativar atualizações em segundo plano fora do Wi-Fi",
"bgUpdatesWhileChargingOnly": "Desativar atualizações em segundo plano fora do carregador",
"autoSelectHighestVersionCode": "Selecionar automaticamente APK com o código de versão mais alto",
"versionExtractionRegEx": "ExReg de extração do número da versão",
"trimVersionString": "Cortar número da versal com ExReg",
"matchGroupToUseForX": "Corresponder grupo para o uso em \"{}\"",
"matchGroupToUse": "Corresponder grupo para o uso para a extração do número da versão por ExReg",
"highlightTouchTargets": "Acentuar alvos de toque menos óbvios",
"pickExportDir": "Selecionar pasta de exportação",
"autoExportOnChanges": "Exportar automaticamente ao ocorrer alterações",
"includeSettings": "Incluir configurações",
"filterVersionsByRegEx": "Filtrar versões por expressão regular",
"trySelectingSuggestedVersionCode": "Tente selecionar o APK com o código de versão sugerido",
"dontSortReleasesList": "Manter ordem de lançamento da API",
"reverseSort": "Ordem inversa",
"takeFirstLink": "Usar o primeiro link",
"skipSort": "Pular ordenação",
"debugMenu": "Menu de depuração",
"bgTaskStarted": "Tarefa em segundo plano iniada - verifique os registros.",
"runBgCheckNow": "Executar busca por atualizações em segundo plano agora",
"versionExtractWholePage": "Aplicar ExReg de extração de número de versão à página inteira",
"installing": "Instalando",
"skipUpdateNotifications": "Pular notificações de atualização",
"updatesAvailableNotifChannel": "Atualizações disponíveis",
"appsUpdatedNotifChannel": "Apps atualizados",
"appsPossiblyUpdatedNotifChannel": "Tentativas de atualização de apps",
"errorCheckingUpdatesNotifChannel": "Erro ao buscar atualizações",
"appsRemovedNotifChannel": "Apps removidos",
"downloadingXNotifChannel": "Baixando {}",
"completeAppInstallationNotifChannel": "Concluir instalação do app",
"checkingForUpdatesNotifChannel": "Buscando atualizações",
"onlyCheckInstalledOrTrackOnlyApps": "Buscar atualizações somente para apps instalados e de somente rastreamento",
"supportFixedAPKURL": "Suportar URLs de APK fixas",
"selectX": "Selecionar {}",
"parallelDownloads": "Permitir downloads em paralelo",
"useShizuku": "Usar Shizuku ou Sui para instalação",
"shizukuBinderNotFound": "Serviço Shizuku não está em execução",
"shizukuOld": "Versão do Shizuku antiga (<11) - atualize",
"shizukuOldAndroidWithADB": "Shizuku sendo executado no Android < 8.1 com ADB - atualize o Android ou use o Sui",
"shizukuPretendToBeGooglePlay": "Definir Google Play como a fonte de instalação (se o Shizuku é usado)",
"useSystemFont": "Usar a fonte do sistema",
"useVersionCodeAsOSVersion": "Usar código de versão do app como a versão detectada pelo sistema",
"requestHeader": "Cabeçalho da solicitação",
"useLatestAssetDateAsReleaseDate": "Usar o envio de item mais recente como a data de lançamento",
"defaultPseudoVersioningMethod": "Método de pseudo-versão padrão",
"partialAPKHash": "Hash do APK parcial",
"APKLinkHash": "Hash do link do APK",
"directAPKLink": "Link direto ao APK",
"pseudoVersionInUse": "Uma pseudo-versão está em uso",
"installed": "Instalado",
"latest": "Mais recente",
"invertRegEx": "Inverter expressão regular",
"note": "Observação",
"selfHostedNote": "O menu de opções \"{}\" pode ser usado para alcançar instâncias hospedadas-por-você/personalizadas de qualquer fonte.",
"badDownload": "O APK não pode ser interpretado (incompatível ou baixado parcialmente)",
"beforeNewInstallsShareToAppVerifier": "Compartilhar apps novos com o AppVerifier (se disponível)",
"appVerifierInstructionToast": "Compartilhe com o AppVerifier, e volte aqui ao estar pronto.",
"wiki": "Ajuda/Wiki",
"crowdsourcedConfigsLabel": "Configurações de app pela comunidade (use ao seu próprio risco)",
"crowdsourcedConfigsShort": "Configurações de app da comunidade",
"allowInsecure": "Permitir solicitações de HTTP inseguras",
"stayOneVersionBehind": "Ficar uma versão antes da mais recente",
"refreshBeforeDownload": "Atualizar detalhes do app antes de baixar",
"tencentAppStore": "Loja de Apps da Tencent",
"coolApk": "CoolApk",
"name": "Nome",
"smartname": "Nome (inteligente)",
"sortMethod": "Método de ordenação",
"welcome": "Boas vindas",
"documentationLinksNote": "A página do Obtainium no GitHub visível abaixo contém links de vídeos, artigos, discussões, e outros recursos que podem te ajudar ao usar o app.",
"removeAppQuestion": {
"one": "Remover app?",
"other": "Remover apps?"
},
"tooManyRequestsTryAgainInMinutes": {
"one": "Muitas solicitações (limitado) - tente novamente em {} minuto",
"other": "Muitas solicitações (limitado) - tente novamente em {} minutos"
},
"bgUpdateGotErrorRetryInMinutes": {
"one": "A busca de atualizações em segundo plano encontrou um {}, será agendado uma nova tentativa em {} minuto",
"other": "A busca de atualizações em segundo plano encontrou um {}, será agendado uma nova tentativa em {} minutos"
},
"bgCheckFoundUpdatesWillNotifyIfNeeded": {
"one": "BG update checking found {} update - will notify user if needed",
"other": "BG update checking found {} updates - will notify user if needed"
},
"apps": {
"one": "{} app",
"other": "{} apps"
},
"url": {
"one": "{} URL",
"other": "{} URLs"
},
"minute": {
"one": "{} minuto",
"other": "{} minutos"
},
"hour": {
"one": "{} hora",
"other": "{} horas"
},
"day": {
"one": "{} dia",
"other": "{} dias"
},
"clearedNLogsBeforeXAfterY": {
"one": "Cleared {n} log (before = {before}, after = {after})",
"other": "Cleared {n} logs (before = {before}, after = {after})"
},
"xAndNMoreUpdatesAvailable": {
"one": "{} e mais 1 app têm atualizações.",
"other": "{} e mais {} apps têm atualizações."
},
"xAndNMoreUpdatesInstalled": {
"one": "{} e mais 1 app foram atualizados.",
"other": "{} e mais {} apps foram atualizados."
},
"xAndNMoreUpdatesFailed": {
"one": "Falha ao atualizar {} e mais 1 app.",
"other": "Falha ao atualizar {} e mais {} apps."
},
"xAndNMoreUpdatesPossiblyInstalled": {
"one": "{} e mais 1 app podem ter sido atualizados.",
"other": "{} e mais {} apps podem ter sido atualizados."
},
"apk": {
"one": "{} APK",
"other": "{} APKs"
}
}

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Manter-se uma versão atrás da mais recente",
"refreshBeforeDownload": "Atualizar os detalhes da aplicação antes da transferência",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Nome",
"smartname": "Nome (Smart)",
"sortMethod": "Método de ordenação",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Не отставайте от последней версии",
"refreshBeforeDownload": "Обновляйте информацию о приложении перед загрузкой",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Имя",
"smartname": "Имя (умное)",
"sortMethod": "Метод сортировки",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Håll dig en version bakom den senaste",
"refreshBeforeDownload": "Uppdatera appdetaljerna före nedladdning",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Namn",
"smartname": "Namn (Smart)",
"sortMethod": "Sorteringsmetod",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "En son sürümün bir sürüm gerisinde kalın",
"refreshBeforeDownload": "İndirmeden önce uygulama ayrıntılarını yenileyin",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "İsim",
"smartname": "İsim (Akıllı)",
"sortMethod": "Sıralama Yöntemi",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "Залишайтеся на одну версію актуальнішою",
"refreshBeforeDownload": "Оновіть інформацію про програму перед завантаженням",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Ім'я",
"smartname": "Ім'я (Smart)",
"sortMethod": "Метод сортування",

View File

@@ -320,11 +320,12 @@
"stayOneVersionBehind": "Stay one version behind latest",
"refreshBeforeDownload": "Refresh app details before download",
"tencentAppStore": "Tencent App Store",
"coolApk": "CoolApk",
"name": "Name",
"smartname": "Name (Smart)",
"sortMethod": "Sort Method",
"welcome": "Welcome",
"documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions, and other resources that will help you understand how to use the app.",
"documentationLinksNote": "The Obtainium GitHub page linked below contains links to videos, articles, discussions and other resources that will help you understand how to use the app.",
"removeAppQuestion": {
"one": "Gỡ ứng dụng?",
"other": "Gỡ ứng dụng?"

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "保持比最新版本落後一個版本",
"refreshBeforeDownload": "下載前刷新應用程式詳細資訊",
"tencentAppStore": "騰訊應用寶",
"coolApk": "CoolApk",
"name": "名稱",
"smartname": "名稱(智慧)",
"sortMethod": "排序方式",

View File

@@ -320,6 +320,7 @@
"stayOneVersionBehind": "比最新版本晚一个版本",
"refreshBeforeDownload": "下载前刷新应用程序详细信息",
"tencentAppStore": "腾讯应用宝",
"coolApk": "酷安",
"name": "名称",
"smartname": "姓名(智能)",
"sortMethod": "排序方法",

View File

@@ -25,6 +25,7 @@
<li>APKMirror (Track-Only)</li>
<li>Huawei AppGallery</li>
<li>Tencent App Store</li>
<li>CoolApk</li>
<li>Jenkins Jobs</li>
<li>RuStore</li>
</ul>

View File

@@ -25,6 +25,7 @@
<li>APKMirror (Track-Only)</li>
<li>Huawei AppGallery</li>
<li>Tencent App Store</li>
<li>CoolApk</li>
<li>Jenkins Jobs</li>
<li>RuStore</li>
</ul>

View File

@@ -0,0 +1,173 @@
import 'dart:convert';
import 'package:bcrypt/bcrypt.dart';
import 'package:crypto/crypto.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:obtainium/custom_errors.dart';
import 'package:obtainium/providers/source_provider.dart';
import 'dart:math';
// kanged from https://github.com/DUpdateSystem/UpgradeAll/blob/b2f92c9/core-websdk/src/main/java/net/xzos/upgradeall/core/websdk/api/client_proxy/hubs/CoolApk.kt
class CoolApk extends AppSource {
CoolApk() {
name = tr('coolApk');
hosts = ['www.coolapk.com', 'api2.coolapk.com'];
allowSubDomains = true;
naiveStandardVersionDetection = true;
}
@override
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
r'^https?://(www\.)?coolapk\.com/apk/[^/]+',
caseSensitive: false);
var match = standardUrlRegEx.firstMatch(url);
if (match == null) {
throw InvalidURLError(name);
}
String standardizedUrl = match.group(0)!;
return standardizedUrl;
}
@override
Future<String?> tryInferringAppId(String standardUrl,
{Map<String, dynamic> additionalSettings = const {}}) async {
String appId = Uri.parse(standardUrl).pathSegments.last;
return appId;
}
@override
Future<APKDetails> getLatestAPKDetails(
String standardUrl,
Map<String, dynamic> additionalSettings,
) async {
String appId = (await tryInferringAppId(standardUrl))!;
String apiUrl = 'https://api2.coolapk.com';
// get latest
var detailUrl = '$apiUrl/v6/apk/detail?id=$appId';
var headers = await getRequestHeaders(additionalSettings);
var res = await sourceRequest(detailUrl, additionalSettings);
if (res.statusCode != 200) {
throw getObtainiumHttpError(res);
}
var json = jsonDecode(res.body);
if (json['status'] == -2 || json['data'] == null) {
throw NoReleasesError();
}
var detail = json['data'];
String version = detail['apkversionname'].toString();
String appName = detail['title'].toString();
String author = detail['developername']?.toString() ?? 'CoolApk';
String changelog = detail['changelog']?.toString() ?? '';
int? releaseDate = detail['lastupdate'] != null
? (detail['lastupdate'] is int
? detail['lastupdate'] * 1000
: int.parse(detail['lastupdate'].toString()) * 1000)
: null;
String aid = detail['id'].toString();
// get apk url
String apkUrl = await _getLatestApkUrl(apiUrl, appId, aid, version, headers);
if (apkUrl.isEmpty) {
throw NoAPKError();
}
String apkName = '${appId}_$version.apk';
return APKDetails(
version,
[MapEntry(apkName, apkUrl)],
AppNames(author, appName),
releaseDate: releaseDate != null
? DateTime.fromMillisecondsSinceEpoch(releaseDate)
: null,
changeLog: changelog,
);
}
Future<String> _getLatestApkUrl(String apiUrl, String appId, String aid,
String version, Map<String, String>? headers) async {
String url = '$apiUrl/v6/apk/download?pn=$appId&aid=$aid';
var res = await sourceRequest(url, {}, followRedirects: false);
if (res.statusCode >= 300 && res.statusCode < 400) {
String location = res.headers['location'] ?? '';
return location;
}
return '';
}
@override
Future<Map<String, String>?> getRequestHeaders(
Map<String, dynamic> additionalSettings,
{bool forAPKDownload = false}) async {
var tokenPair = _getToken();
// CoolAPK header
return {
'User-Agent':
'Dalvik/2.1.0 (Linux; U; Android 9; MI 8 SE MIUI/9.5.9) (#Build; Xiaomi; MI 8 SE; PKQ1.181121.001; 9) +CoolMarket/12.4.2-2208241-universal',
'X-App-Id': 'com.coolapk.market',
'X-Requested-With': 'XMLHttpRequest',
'X-Sdk-Int': '30',
'X-App-Mode': 'universal',
'X-App-Channel': 'coolapk',
'X-Sdk-Locale': 'zh-CN',
'X-App-Version': '12.4.2',
'X-Api-Supported': '2208241',
'X-App-Code': '2208241',
'X-Api-Version': '12',
'X-App-Device': tokenPair['deviceCode']!,
'X-Dark-Mode': '0',
'X-App-Token': tokenPair['token']!,
};
}
Map<String, String> _getToken() {
final rand = Random();
String randHexString(int n) =>
List.generate(n, (_) => rand.nextInt(256).toRadixString(16).padLeft(2, '0'))
.join()
.toUpperCase();
String randMacAddress() =>
List.generate(6, (_) => rand.nextInt(256).toRadixString(16).padLeft(2, '0'))
.join(':');
// 加密算法来自 https://github.com/XiaoMengXinX/FuckCoolapkTokenV2、https://github.com/Coolapk-UWP/Coolapk-UWP
// device
String aid = randHexString(16);
String mac = randMacAddress();
const manufactor = 'Google';
const brand = 'Google';
const model = 'Pixel 5a';
const buildNumber = 'SQ1D.220105.007';
// generate deviceCode
String deviceCode =
base64.encode('$aid; ; ; $mac; $manufactor; $brand; $model; $buildNumber'.codeUnits);
// generate timestamp
String timeStamp = (DateTime.now().millisecondsSinceEpoch ~/ 1000).toString();
String base64TimeStamp = base64.encode(timeStamp.codeUnits);
String md5TimeStamp = md5.convert(timeStamp.codeUnits).toString();
String md5DeviceCode = md5.convert(deviceCode.codeUnits).toString();
// generate token
String token =
'token://com.coolapk.market/dcf01e569c1e3db93a3d0fcf191a622c?$md5TimeStamp\$$md5DeviceCode&com.coolapk.market';
String base64Token = base64.encode(token.codeUnits);
String md5Base64Token = md5.convert(base64Token.codeUnits).toString();
String md5Token = md5.convert(token.codeUnits).toString();
// generate salt and hash
String bcryptSalt = '\$2a\$10\$${base64TimeStamp.substring(0, 14)}/${md5Token.substring(0, 6)}u';
String bcryptResult = BCrypt.hashpw(md5Base64Token, bcryptSalt);
String reBcryptResult = bcryptResult.replaceRange(0, 3, '\$2y');
String finalToken = 'v2${base64.encode(reBcryptResult.codeUnits)}';
return {'deviceCode': deviceCode, 'token': finalToken};
}
}

View File

@@ -1,3 +1,5 @@
import 'dart:convert';
import 'package:easy_localization/easy_localization.dart';
import 'package:html/parser.dart';
import 'package:http/http.dart';
@@ -67,6 +69,27 @@ int compareAlphaNumeric(String a, String b) {
return aParts.length.compareTo(bParts.length);
}
List<String> collectAllStringsFromJSONObject(dynamic obj) {
List<String> extractor(dynamic obj) {
final results = <String>[];
if (obj is String) {
results.add(obj);
} else if (obj is List) {
for (final item in obj) {
results.addAll(extractor(item));
}
} else if (obj is Map<String, dynamic>) {
for (final value in obj.values) {
results.addAll(extractor(value));
}
}
return results;
}
return extractor(obj);
}
List<String> _splitAlphaNumeric(String s) {
List<String> parts = [];
StringBuffer sb = StringBuffer();
@@ -95,6 +118,13 @@ bool _isNumeric(String s) {
return s.codeUnitAt(0) >= 48 && s.codeUnitAt(0) <= 57;
}
List<MapEntry<String, String>> getLinksInLines(String lines) => RegExp(
r'(http|ftp|https)://([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?')
.allMatches(lines)
.map((match) =>
MapEntry(match.group(0)!, match.group(0)?.split('/').last ?? ''))
.toList();
// Given an HTTP response, grab some links according to the common additional settings
// (those that apply to intermediate and final steps)
Future<List<MapEntry<String, String>>> grabLinksCommon(
@@ -114,12 +144,21 @@ Future<List<MapEntry<String, String>>> grabLinksCommon(
.map((e) => MapEntry(ensureAbsoluteUrl(e.key, res.request!.url), e.value))
.toList();
if (allLinks.isEmpty) {
allLinks = RegExp(
r'(http|ftp|https)://([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?')
.allMatches(res.body)
.map((match) =>
MapEntry(match.group(0)!, match.group(0)?.split('/').last ?? ''))
.toList();
allLinks = getLinksInLines(res.body);
}
if (allLinks.isEmpty) {
// Getting desperate
try {
var jsonStrings = collectAllStringsFromJSONObject(jsonDecode(res.body));
allLinks = getLinksInLines(jsonStrings.join('\n'));
if (allLinks.isEmpty) {
allLinks = getLinksInLines(jsonStrings.map((l) {
return ensureAbsoluteUrl(l, res.request!.url);
}).join('\n'));
}
} catch (e) {
//
}
}
List<MapEntry<String, String>> links = [];
bool skipSort = additionalSettings['skipSort'] == true;

View File

@@ -154,7 +154,7 @@ String list2FriendlyString(List<String> list) {
(e.key == list.length - 1
? ''
: e.key == list.length - 2
? ', and '
? ' and '
: ', '))
.join('');
}

View File

@@ -34,7 +34,8 @@ List<MapEntry<Locale, String>> supportedLocales = const [
MapEntry(Locale('pl'), 'Polski'),
MapEntry(Locale('ru'), 'Русский'),
MapEntry(Locale('bs'), 'Bosanski'),
MapEntry(Locale('pt'), 'Brasileiro'),
MapEntry(Locale('pt'), 'Português'),
MapEntry(Locale('pt', 'BR'), 'Brasileiro'),
MapEntry(Locale('cs'), 'Česky'),
MapEntry(Locale('sv'), 'Svenska'),
MapEntry(Locale('nl'), 'Nederlands'),
@@ -109,11 +110,13 @@ void main() async {
);
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
}
final np = NotificationsProvider();
await np.initialize();
runApp(MultiProvider(
providers: [
ChangeNotifierProvider(create: (context) => AppsProvider()),
ChangeNotifierProvider(create: (context) => SettingsProvider()),
Provider(create: (context) => NotificationsProvider()),
Provider(create: (context) => np),
Provider(create: (context) => LogsProvider())
],
child: EasyLocalization(
@@ -168,6 +171,7 @@ class _ObtainiumState extends State<Obtainium> {
SettingsProvider settingsProvider = context.watch<SettingsProvider>();
AppsProvider appsProvider = context.read<AppsProvider>();
LogsProvider logs = context.read<LogsProvider>();
NotificationsProvider notifs = context.read<NotificationsProvider>();
if (settingsProvider.prefs == null) {
settingsProvider.initializeSettings();
@@ -211,6 +215,10 @@ class _ObtainiumState extends State<Obtainium> {
}
}
WidgetsBinding.instance.addPostFrameCallback((_) {
notifs.checkLaunchByNotif();
});
return DynamicColorBuilder(
builder: (ColorScheme? lightDynamic, ColorScheme? darkDynamic) {
// Decide on a colour/brightness scheme based on OS and user settings

View File

@@ -7,7 +7,6 @@ import 'dart:io';
import 'dart:math';
import 'package:battery_plus/battery_plus.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:http/http.dart' as http;
import 'package:crypto/crypto.dart';
import 'dart:typed_data';
@@ -246,9 +245,9 @@ Future<File> downloadFile(String url, String fileName, bool fileNameHasExt,
var reqHeaders = headers ?? {};
var req = Request('GET', Uri.parse(url));
req.headers.addAll(reqHeaders);
var client = IOClient(createHttpClient(allowInsecure));
StreamedResponse response = await client.send(req);
var resHeaders = response.headers;
var headersClient = IOClient(createHttpClient(allowInsecure));
StreamedResponse headersResponse = await headersClient.send(req);
var resHeaders = headersResponse.headers;
// Use the headers to decide what the file extension is, and
// whether it supports partial downloads (range request), and
@@ -276,21 +275,20 @@ Future<File> downloadFile(String url, String fileName, bool fileNameHasExt,
rangeFeatureEnabled =
resHeaders['accept-ranges']?.trim().toLowerCase() == 'bytes';
}
headersClient.close();
// If you have an existing file that is usable,
// decide whether you can use it (either return full or resume partial)
var fullContentLength = response.contentLength;
var fullContentLength = headersResponse.contentLength;
if (useExisting && downloadedFile.existsSync()) {
var length = downloadedFile.lengthSync();
if (fullContentLength == null || !rangeFeatureEnabled) {
// If there is no content length reported, assume it the existing file is fully downloaded
// Also if the range feature is not supported, don't trust the content length if any (#1542)
client.close();
return downloadedFile;
} else {
// Check if resume needed/possible
if (length == fullContentLength) {
client.close();
return downloadedFile;
}
if (length > fullContentLength) {
@@ -330,7 +328,6 @@ Future<File> downloadFile(String url, String fileName, bool fileNameHasExt,
if (shouldReturn) {
logs?.add(
'Existing partial download completed - not repeating: ${tempDownloadedFile.uri.pathSegments.last}');
client.close();
return downloadedFile;
} else {
logs?.add(
@@ -346,17 +343,18 @@ Future<File> downloadFile(String url, String fileName, bool fileNameHasExt,
: null;
int rangeStart = targetFileLength ?? 0;
IOSink? sink;
req = Request('GET', Uri.parse(url));
req.headers.addAll(reqHeaders);
if (rangeFeatureEnabled && fullContentLength != null && rangeStart > 0) {
client.close();
client = IOClient(createHttpClient(allowInsecure));
req = Request('GET', Uri.parse(url));
req.headers.addAll(reqHeaders);
req.headers.addAll({'range': 'bytes=$rangeStart-${fullContentLength - 1}'});
response = await client.send(req);
reqHeaders.addAll({'range': 'bytes=$rangeStart-${fullContentLength - 1}'});
sink = tempDownloadedFile.openWrite(mode: FileMode.writeOnlyAppend);
} else if (tempDownloadedFile.existsSync()) {
tempDownloadedFile.deleteSync(recursive: true);
}
var responseWithClient =
await sourceRequestStreamResponse('GET', url, reqHeaders, {});
HttpClient responseClient = responseWithClient.key;
HttpClientResponse response = responseWithClient.value;
sink ??= tempDownloadedFile.openWrite(mode: FileMode.writeOnly);
// Perform the download
@@ -369,7 +367,8 @@ Future<File> downloadFile(String url, String fileName, bool fileNameHasExt,
const downloadUIUpdateInterval = Duration(milliseconds: 500);
const downloadBufferSize = 32 * 1024; // 32KB
final downloadBuffer = BytesBuilder();
await response.stream
await response
.asBroadcastStream()
.map((chunk) {
received += chunk.length;
final now = DateTime.now();
@@ -407,31 +406,15 @@ Future<File> downloadFile(String url, String fileName, bool fileNameHasExt,
}
if (response.statusCode < 200 || response.statusCode > 299) {
tempDownloadedFile.deleteSync(recursive: true);
throw response.reasonPhrase ?? tr('unexpectedError');
throw response.reasonPhrase;
}
if (tempDownloadedFile.existsSync()) {
tempDownloadedFile.renameSync(downloadedFile.path);
}
client.close();
responseClient.close();
return downloadedFile;
}
Future<Map<String, String>> getHeaders(String url,
{Map<String, String>? headers, bool allowInsecure = false}) async {
var req = http.Request('GET', Uri.parse(url));
if (headers != null) {
req.headers.addAll(headers);
}
var client = IOClient(createHttpClient(allowInsecure));
var response = await client.send(req);
if (response.statusCode < 200 || response.statusCode > 299) {
throw ObtainiumError(response.reasonPhrase ?? tr('unexpectedError'));
}
var returnHeaders = response.headers;
client.close();
return returnHeaders;
}
Future<List<PackageInfo>> getAllInstalledInfo() async {
return await pm.getInstalledPackages() ?? [];
}

View File

@@ -2,7 +2,9 @@
// Contains a set of pre-defined ObtainiumNotification objects that should be used throughout the app
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:obtainium/main.dart';
import 'package:obtainium/providers/settings_provider.dart';
import 'package:obtainium/providers/source_provider.dart';
@@ -16,10 +18,11 @@ class ObtainiumNotification {
Importance importance;
int? progPercent;
bool onlyAlertOnce;
String? payload;
ObtainiumNotification(this.id, this.title, this.message, this.channelCode,
this.channelName, this.channelDescription, this.importance,
{this.onlyAlertOnce = false, this.progPercent});
{this.onlyAlertOnce = false, this.progPercent, this.payload});
}
class UpdateNotification extends ObtainiumNotification {
@@ -88,7 +91,8 @@ class ErrorCheckingUpdatesNotification extends ObtainiumNotification {
'BG_UPDATE_CHECK_ERROR',
tr('errorCheckingUpdatesNotifChannel'),
tr('errorCheckingUpdatesNotifDescription'),
Importance.high);
Importance.high,
payload: "${tr('errorCheckingUpdates')}\n$error");
}
class AppsRemovedNotification extends ObtainiumNotification {
@@ -173,11 +177,50 @@ class NotificationsProvider {
};
Future<void> initialize() async {
isInitialized = await notifications.initialize(const InitializationSettings(
android: AndroidInitializationSettings('ic_notification'))) ??
isInitialized = await notifications.initialize(
const InitializationSettings(
android: AndroidInitializationSettings('ic_notification')),
onDidReceiveNotificationResponse: (NotificationResponse response) {
_showNotificationPayload(response.payload);
},
) ??
false;
}
checkLaunchByNotif() async {
final NotificationAppLaunchDetails? launchDetails =
await notifications.getNotificationAppLaunchDetails();
if (launchDetails?.didNotificationLaunchApp ?? false) {
_showNotificationPayload(launchDetails!.notificationResponse?.payload,
doublePop: true);
}
}
_showNotificationPayload(String? payload, {bool doublePop = false}) {
if (payload?.isNotEmpty == true) {
var title = (payload ?? '\n\n').split('\n').first;
var content = (payload ?? '\n\n').split('\n').sublist(1).join('\n');
globalNavigatorKey.currentState?.push(
PageRouteBuilder(
pageBuilder: (context, _, __) => AlertDialog(
title: Text(title),
content: Text(content),
actions: [
TextButton(
onPressed: () {
Navigator.of(context).pop(null);
if (doublePop) {
Navigator.of(context).pop(null);
}
},
child: Text(tr('ok'))),
],
),
),
);
}
}
Future<void> cancel(int id) async {
if (!isInitialized) {
await initialize();
@@ -195,7 +238,8 @@ class NotificationsProvider {
Importance importance,
{bool cancelExisting = false,
int? progPercent,
bool onlyAlertOnce = false}) async {
bool onlyAlertOnce = false,
String? payload}) async {
if (cancelExisting) {
await cancel(id);
}
@@ -216,7 +260,8 @@ class NotificationsProvider {
maxProgress: 100,
showProgress: progPercent != null,
onlyAlertOnce: onlyAlertOnce,
indeterminate: progPercent != null && progPercent < 0)));
indeterminate: progPercent != null && progPercent < 0)),
payload: payload);
}
Future<void> notify(ObtainiumNotification notif,
@@ -225,5 +270,6 @@ class NotificationsProvider {
notif.channelName, notif.channelDescription, notif.importance,
cancelExisting: cancelExisting,
onlyAlertOnce: notif.onlyAlertOnce,
progPercent: notif.progPercent);
progPercent: notif.progPercent,
payload: notif.payload);
}

View File

@@ -14,6 +14,7 @@ import 'package:obtainium/app_sources/apkmirror.dart';
import 'package:obtainium/app_sources/apkpure.dart';
import 'package:obtainium/app_sources/aptoide.dart';
import 'package:obtainium/app_sources/codeberg.dart';
import 'package:obtainium/app_sources/coolapk.dart';
import 'package:obtainium/app_sources/directAPKLink.dart';
import 'package:obtainium/app_sources/fdroid.dart';
import 'package:obtainium/app_sources/fdroidrepo.dart';
@@ -509,6 +510,72 @@ HttpClient createHttpClient(bool insecure) {
return client;
}
Future<MapEntry<HttpClient, HttpClientResponse>> sourceRequestStreamResponse(
String method,
String url,
Map<String, String>? requestHeaders,
Map<String, dynamic> additionalSettings,
{bool followRedirects = true,
Object? postBody}) async {
var currentUrl = Uri.parse(url);
var redirectCount = 0;
const maxRedirects = 10;
List<Cookie> cookies = [];
while (redirectCount < maxRedirects) {
var httpClient =
createHttpClient(additionalSettings['allowInsecure'] == true);
var request = await httpClient.openUrl(method, currentUrl);
if (requestHeaders != null) {
requestHeaders.forEach((key, value) {
request.headers.set(key, value);
});
}
request.cookies.addAll(cookies);
request.followRedirects = false;
if (postBody != null) {
request.headers.contentType = ContentType.json;
request.write(jsonEncode(postBody));
}
final response = await request.close();
if (followRedirects &&
(response.statusCode >= 300 && response.statusCode <= 399)) {
final location = response.headers.value(HttpHeaders.locationHeader);
if (location != null) {
currentUrl = Uri.parse(ensureAbsoluteUrl(location, currentUrl));
redirectCount++;
cookies = response.cookies;
httpClient.close();
continue;
}
}
return MapEntry(httpClient, response);
}
throw ObtainiumError('Too many redirects ($maxRedirects)');
}
Future<Response> httpClientResponseStreamToFinalResponse(HttpClient httpClient,
String method, String url, HttpClientResponse response) async {
final bytes =
(await response.fold<BytesBuilder>(BytesBuilder(), (b, d) => b..add(d)))
.toBytes();
final headers = <String, String>{};
response.headers.forEach((name, values) {
headers[name] = values.join(', ');
});
httpClient.close();
return http.Response.bytes(
bytes,
response.statusCode,
headers: headers,
request: http.Request(method, Uri.parse(url)),
);
}
abstract class AppSource {
List<String> hosts = [];
bool hostChanged = false;
@@ -566,64 +633,16 @@ abstract class AppSource {
Future<Response> sourceRequest(
String url, Map<String, dynamic> additionalSettings,
{bool followRedirects = true, Object? postBody}) async {
var method = postBody == null ? 'GET' : 'POST';
var requestHeaders = await getRequestHeaders(additionalSettings);
if (requestHeaders != null || followRedirects == false) {
var method = postBody == null ? 'GET' : 'POST';
var currentUrl = url;
var redirectCount = 0;
const maxRedirects = 10;
while (redirectCount < maxRedirects) {
var httpClient =
createHttpClient(additionalSettings['allowInsecure'] == true);
var request = await httpClient.openUrl(method, Uri.parse(currentUrl));
if (requestHeaders != null) {
requestHeaders.forEach((key, value) {
request.headers.set(key, value);
});
}
request.followRedirects = false;
if (postBody != null) {
request.headers.contentType = ContentType.json;
request.write(jsonEncode(postBody));
}
final response = await request.close();
if (followRedirects &&
(response.statusCode == 301 || response.statusCode == 302)) {
final location = response.headers.value(HttpHeaders.locationHeader);
if (location != null) {
currentUrl = location;
redirectCount++;
httpClient.close();
continue;
}
}
final bytes = (await response.fold<BytesBuilder>(
BytesBuilder(), (b, d) => b..add(d)))
.toBytes();
final headers = <String, String>{};
response.headers.forEach((name, values) {
headers[name] = values.join(', ');
});
httpClient.close();
return http.Response.bytes(
bytes,
response.statusCode,
headers: headers,
request: http.Request(method, Uri.parse(url)),
);
}
throw ObtainiumError('Too many redirects ($maxRedirects)');
} else {
return postBody == null
? http.get(Uri.parse(url))
: http.post(Uri.parse(url), body: jsonEncode(postBody));
}
var streamedResponseAndClient = await sourceRequestStreamResponse(
method, url, requestHeaders, additionalSettings,
followRedirects: followRedirects, postBody: postBody);
return await httpClientResponseStreamToFinalResponse(
streamedResponseAndClient.key,
method,
url,
streamedResponseAndClient.value);
}
void runOnAddAppInputChange(String inputUrl) {
@@ -934,6 +953,7 @@ class SourceProvider {
Uptodown(),
HuaweiAppGallery(),
Tencent(),
CoolApk(),
Jenkins(),
APKMirror(),
RuStore(),

View File

@@ -80,10 +80,10 @@ packages:
dependency: transitive
description:
name: archive
sha256: "7dcbd0f87fe5f61cb28da39a1a8b70dbc106e2fe0516f7836eb7bb2948481a12"
sha256: "2fde1607386ab523f7a36bb3e7edb43bd58e6edaf2ffb29d8a6d578b297fdbbd"
url: "https://pub.dev"
source: hosted
version: "4.0.5"
version: "4.0.7"
args:
dependency: transitive
description:
@@ -124,6 +124,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.1"
bcrypt:
dependency: "direct main"
description:
name: bcrypt
sha256: "9dc3f234d5935a76917a6056613e1a6d9b53f7fa56f98e24cd49b8969307764b"
url: "https://pub.dev"
source: hosted
version: "1.1.3"
boolean_selector:
dependency: transitive
description:
@@ -176,10 +184,10 @@ packages:
dependency: "direct main"
description:
name: connectivity_plus
sha256: "04bf81bb0b77de31557b58d052b24b3eee33f09a6e7a8c68a3e247c7df19ec27"
sha256: "051849e2bd7c7b3bc5844ea0d096609ddc3a859890ec3a9ac4a65a2620cc1f99"
url: "https://pub.dev"
source: hosted
version: "6.1.3"
version: "6.1.4"
connectivity_plus_platform_interface:
dependency: transitive
description:
@@ -232,10 +240,10 @@ packages:
dependency: "direct main"
description:
name: device_info_plus
sha256: "306b78788d1bb569edb7c55d622953c2414ca12445b41c9117963e03afc5c513"
sha256: "0c6396126421b590089447154c5f98a5de423b70cfb15b1578fd018843ee6f53"
url: "https://pub.dev"
source: hosted
version: "11.3.3"
version: "11.4.0"
device_info_plus_platform_interface:
dependency: transitive
description:
@@ -304,10 +312,10 @@ packages:
dependency: "direct main"
description:
name: file_picker
sha256: "36a1652d99cb6bf8ccc8b9f43aded1fd60b234d23ce78af422c07f950a436ef7"
sha256: "8986dec4581b4bcd4b6df5d75a2ea0bede3db802f500635d05fa8be298f9467f"
url: "https://pub.dev"
source: hosted
version: "10.0.0"
version: "10.1.2"
fixnum:
dependency: transitive
description:
@@ -498,10 +506,10 @@ packages:
dependency: transitive
description:
name: flutter_plugin_android_lifecycle
sha256: "5a1e6fb2c0561958d7e4c33574674bda7b77caaca7a33b758876956f2902eea3"
sha256: f948e346c12f8d5480d2825e03de228d0eb8c3a737e4cdaa122267b89c022b5e
url: "https://pub.dev"
source: hosted
version: "2.0.27"
version: "2.0.28"
flutter_test:
dependency: "direct dev"
description: flutter
@@ -556,10 +564,10 @@ packages:
dependency: "direct main"
description:
name: html
sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec"
sha256: "6d1264f2dffa1b1101c25a91dff0dc2daee4c18e87cd8538729773c073dbf602"
url: "https://pub.dev"
source: hosted
version: "0.15.5"
version: "0.15.6"
http:
dependency: "direct main"
description:
@@ -708,10 +716,10 @@ packages:
dependency: transitive
description:
name: path_provider_android
sha256: "0ca7359dad67fd7063cb2892ab0c0737b2daafd807cf1acecd62374c8fae6c12"
sha256: d0d310befe2c8ab9e7f393288ccbb11b60c019c6b5afc21973eeee4dda2b35e9
url: "https://pub.dev"
source: hosted
version: "2.2.16"
version: "2.2.17"
path_provider_foundation:
dependency: transitive
description:
@@ -748,26 +756,26 @@ packages:
dependency: "direct main"
description:
name: permission_handler
sha256: "59adad729136f01ea9e35a48f5d1395e25cba6cea552249ddbe9cf950f5d7849"
sha256: "2d070d8684b68efb580a5997eb62f675e8a885ef0be6e754fb9ef489c177470f"
url: "https://pub.dev"
source: hosted
version: "11.4.0"
version: "12.0.0+1"
permission_handler_android:
dependency: transitive
description:
name: permission_handler_android
sha256: d3971dcdd76182a0c198c096b5db2f0884b0d4196723d21a866fc4cdea057ebc
sha256: "1e3bc410ca1bf84662104b100eb126e066cb55791b7451307f9708d4007350e6"
url: "https://pub.dev"
source: hosted
version: "12.1.0"
version: "13.0.1"
permission_handler_apple:
dependency: transitive
description:
name: permission_handler_apple
sha256: f84a188e79a35c687c132a0a0556c254747a08561e99ab933f12f6ca71ef3c98
sha256: f000131e755c54cf4d84a5d8bd6e4149e262cc31c5a8b1d698de1ac85fa41023
url: "https://pub.dev"
source: hosted
version: "9.4.6"
version: "9.4.7"
permission_handler_html:
dependency: transitive
description:
@@ -852,10 +860,10 @@ packages:
dependency: transitive
description:
name: posix
sha256: a0117dc2167805aa9125b82eee515cc891819bac2f538c83646d355b16f58b9a
sha256: f0d7856b6ca1887cfa6d1d394056a296ae33489db914e365e2044fdada449e62
url: "https://pub.dev"
source: hosted
version: "6.0.1"
version: "6.0.2"
provider:
dependency: "direct main"
description:
@@ -868,18 +876,18 @@ packages:
dependency: "direct main"
description:
name: share_plus
sha256: fce43200aa03ea87b91ce4c3ac79f0cecd52e2a7a56c7a4185023c271fbfa6da
sha256: b2961506569e28948d75ec346c28775bb111986bb69dc6a20754a457e3d97fa0
url: "https://pub.dev"
source: hosted
version: "10.1.4"
version: "11.0.0"
share_plus_platform_interface:
dependency: transitive
description:
name: share_plus_platform_interface
sha256: cc012a23fc2d479854e6c80150696c4a5f5bb62cb89af4de1c505cf78d0a5d0b
sha256: "1032d392bc5d2095a77447a805aa3f804d2ae6a4d5eef5e6ebb3bd94c1bc19ef"
url: "https://pub.dev"
source: hosted
version: "5.0.2"
version: "6.0.0"
shared_preferences:
dependency: "direct main"
description:
@@ -892,10 +900,10 @@ packages:
dependency: transitive
description:
name: shared_preferences_android
sha256: "3ec7210872c4ba945e3244982918e502fa2bfb5230dff6832459ca0e1879b7ad"
sha256: "20cbd561f743a342c76c151d6ddb93a9ce6005751e7aa458baad3858bfbfb6ac"
url: "https://pub.dev"
source: hosted
version: "2.4.8"
version: "2.4.10"
shared_preferences_foundation:
dependency: transitive
description:
@@ -1099,10 +1107,10 @@ packages:
dependency: transitive
description:
name: url_launcher_android
sha256: "1d0eae19bd7606ef60fe69ef3b312a437a16549476c42321d5dc1506c9ca3bf4"
sha256: "8582d7f6fe14d2652b4c45c9b6c14c0b678c2af2d083a11b604caeba51930d79"
url: "https://pub.dev"
source: hosted
version: "6.3.15"
version: "6.3.16"
url_launcher_ios:
dependency: transitive
description:
@@ -1139,10 +1147,10 @@ packages:
dependency: transitive
description:
name: url_launcher_web
sha256: "3ba963161bd0fe395917ba881d320b9c4f6dd3c4a233da62ab18a5025c85f1e9"
sha256: "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2"
url: "https://pub.dev"
source: hosted
version: "2.4.0"
version: "2.4.1"
url_launcher_windows:
dependency: transitive
description:
@@ -1187,34 +1195,34 @@ packages:
dependency: "direct main"
description:
name: webview_flutter
sha256: "889a0a678e7c793c308c68739996227c9661590605e70b1f6cf6b9a6634f7aec"
sha256: caf0f5a1012aa3c2d33c4215adc72dc1194bb59a2d3ed901f457965626805e66
url: "https://pub.dev"
source: hosted
version: "4.10.0"
version: "4.11.0"
webview_flutter_android:
dependency: transitive
description:
name: webview_flutter_android
sha256: e09150b28a07933839adef0e4a088bb43e8c8d9e6b93025b01882d4067a58ab0
sha256: "6b0eae02b7604954b80ee9a29507ac38f5de74b712faa6fee33abc1cdedc1b21"
url: "https://pub.dev"
source: hosted
version: "4.3.4"
version: "4.4.2"
webview_flutter_platform_interface:
dependency: transitive
description:
name: webview_flutter_platform_interface
sha256: d937581d6e558908d7ae3dc1989c4f87b786891ab47bb9df7de548a151779d8d
sha256: "18b1640839cf6546784a524c72aded5b6e86b23e7167dc2311cc96f7658b64bd"
url: "https://pub.dev"
source: hosted
version: "2.10.0"
version: "2.11.0"
webview_flutter_wkwebview:
dependency: transitive
description:
name: webview_flutter_wkwebview
sha256: c14455137ce60a68e1ccaf4e8f2dae8cebcb3465ddaa2fcfb57584fb7c5afe4d
sha256: c9f9be526fa0d3347374ceaa05c4b3acb85f4f112abd62f7d74b7d301fa515ff
url: "https://pub.dev"
source: hosted
version: "3.18.5"
version: "3.20.0"
win32:
dependency: transitive
description:

View File

@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.1.49+2306
version: 1.1.52+2309
environment:
sdk: ^3.6.0
@@ -44,7 +44,7 @@ dependencies:
html: ^0.15.0
shared_preferences: ^2.0.15
url_launcher: ^6.1.5
permission_handler: ^11.0.0
permission_handler: ^12.0.0+1
fluttertoast: ^8.0.9
device_info_plus: ^11.0.0
file_picker: ^10.0.0
@@ -57,7 +57,7 @@ dependencies:
git:
url: https://github.com/ImranR98/android_package_manager
ref: master
share_plus: ^10.0.0
share_plus: ^11.0.0
sqflite: ^2.2.0+3
easy_localization: ^3.0.1
android_intent_plus: ^5.0.1
@@ -70,6 +70,7 @@ dependencies:
url: https://github.com/AlexBacich/shared-storage
ref: master
crypto: ^3.0.3
bcrypt: ^1.1.3
app_links: ^6.0.1
background_fetch: ^1.2.1
equations: ^5.0.2