Pocket Casts Automattic 旗下播客应用开源项目

我要开发同款
匿名用户2022年10月21日
46阅读
开发技术Kotlin
所属分类多媒体工具、应用工具
授权协议MPL-2.0

作品详情

PocketCasts是最知名、功能最强大的播客平台之一,PocketCasts归属于Automattic,后者还拥有WordPress和Tumblr。此次开源的是PocketCasts的移动端应用(iOS和Android)。

构建说明(Android)确保已安装AndroidStudio。在AndroidStudio中,从本地存储库中打开项目。转到工具→设备管理器并创建一个模拟设备。转到运行→编辑配置...并创建一个AndroidApp配置。选择模块“pocketcasts-android.app.main”。运行构建和测试(Android)

从命令行构建、安装和测试项目:

$./gradlew:app:assembleDebugProd#assemblethedebug.apk$./gradlew:app:installDebugProd#installthedebug.apktoaconnecteddevice$./gradlew:app:testDebugUnitTest#assemble,installandrununittests$./gradlew:app:connectedDebugAndroidTest#assemble,installandrunAndroidtests目录结构(Android).├──app#Mobileapp├──automotive#Automotiveapp├──modules│├──features││├──account#Createaccountandsigninpages.││├──cartheme#Automotiveresourcesneededfortheaccountpages.││├──discover#Discoversection.││├──filters#Filterssection.││├──navigation#Navigationutilities.││├──player#Fullscreenplayer││├──podcasts#Podcastssection.││├──profile#Profilesection.││├──search#Searchpages.││└──settings#Settingspages.│└──services│├──compose#SharedComposecode.│├──images#Imageresources.│├──localization#ContainsthestringsinEnglishandlocalizedstringsfromGlotPress.│├──model#Thedatabaselogicandentities.Alsotransferobjectsrequiredwhicharen'tstoredinthedatabase.│├──preferences#Storestheuserpreferencesandconfigurationsettings.│├──repositories#Providesaccessingtothedatafromthe'servers'and'model'modules.│├──servers#Providesthenetworkcallstotheservers.TheUIlayershouldaccessthesethroughthe'repositories'module.│├──ui#SharedUIcodeforthe'compose'and'views'modules.Thisincludesthethemes.│├──utils#Utilityclasses.│└──views#ShredOnlytheoldviewscode.设置(iOS)

需要安装Bundler:

geminstallbundler

接下来,需要使用此脚本安装CocoaPods和FastLane所需的所有依赖项:

makeinstall_dependencies

外部贡献者

如果你是外部贡献者,请运行makeexternal_contributor。之后就应该能够构建和运行该项目。

运行(iOS)

打开.xcworkspace文件,选择PocketCasts项目和要在其上运行的模拟器设备,然后点击play按钮。

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论