podverse / podverse-rn

Podverse mobile app written in React Native for iOS, Android, and F-Droid
https://podverse.fm/about
GNU Affero General Public License v3.0
217 stars 36 forks source link

Add Podcasting 2.0 Certified image to About screen #833

Closed mitchdowney closed 2 years ago

mitchdowney commented 3 years ago

See the podverse-web footer for the image.

1) Render the image on the bottom of the About Screen. There is a PVFastImage component that can be used for this.

2) Wrap the image with a TouchableWithoutFeedback component, and on press of the image, add the following handler:

    Alert.alert(PV.Alerts.LEAVING_APP.title, PV.Alerts.LEAVING_APP.message, [
      { text: translate('Cancel') },
      { text: translate('Yes'), onPress: () => Linking.openURL('https://podcastindex.org') }
    ])

Note: you'll need to import the PV variable if it's not already available in the AboutScreen.ts.

priyanshu688 commented 3 years ago

Can I work on this issue?

mitchdowney commented 3 years ago

Hello @priyanshu688! You definitely can, but we don't have "Getting Started" steps in our README yet. If you have enough React Native experience where you think you can figure out please go ahead. Otherwise we should be able to Getting Started documentation by ~Wednesday of this week.

I'll assign the issue to you for now, but if you can't work on it no worries just let me know. Thanks for offering to help!

priyanshu688 commented 3 years ago

@mitchdowney ok I will try nd let you know ..

mitchdowney commented 3 years ago

@priyanshu688 in case it helps, here is a sample .env file you could use. It connects to the prod server to use regular prod data:

WEB_DOMAIN='podverse.fm'
API_DOMAIN='https:/api.podverse.fm/api/v1'
RELEASE_TYPE=''
DEVICE_TYPE='iOS'
USER_AGENT_APP_TYPE='iOS Mobile App'
USER_AGENT_PREFIX='Podverse'
DEEP_LINK_PREFIX='podverse://'
TEST_ID_RESOURCE_ID='com.podverse'
CONTACT_US_EMAIL='contact@podverse.fm'
CURATOR_EMAIL='podverse.curator@gmail.com'
SUPPORT_EMAIL='contact@podverse.fm'
PURCHASE_ITEM_SKU_ANDROID='podverse_premium_membership_1_year'
PURCHASE_ITEM_SKU_IOS='podverse_premium_membership_1_year_non_renewing_subscription'
NAV_STACK_TABS='Podcasts,Episodes,Clips,My Library,More'
NAV_STACK_MORE_FEATURES=AddPodcastByRSS,BitcoinWallet,ImportOpml,ExportOpml,Login,Logout,Settings
NAV_STACK_MORE_OTHER=Membership,Contact,About,TermsOfService
FILTER_TYPE_ITEMS=subscribed,downloaded,all-podcasts,category,added-by-rss,my-clips,all-episodes,podcasts,episodes,clips,chapters,playlists,about-podcast,show-notes,title,my-playlists
FILTER_SORT_ITEMS=chronological,alphabetical,most-recent,oldest,top-past-day,top-past-week,top-past-month,top-past-year,top-all-time,random
FILTER_FROM_ITEMS=from-this-podcast,from-this-episode
DISABLE_ADD_TO_PLAYLIST=
DISABLE_CUSTOM_DOMAINS=
DISABLE_CRASH_LOGS=
DISABLE_FILTER_TEXT_QUERY=
DISABLE_MAKE_CLIP=
DISABLE_QR_SCANNER=TRUE
DISABLE_SEARCH=
DISABLE_SHARE=
DISABLE_THEME_SWITCH=
ENABLE_VALUE_TAG_TRANSACTIONS=TRUE
DEFAULT_QUERY_EPISODES_SCREEN=all-podcasts
DEFAULT_QUERY_PODCASTS_SCREEN=all-podcasts
DEFAULT_ACTION_NO_SUBSCRIBED_PODCASTS=search
URL_SOCIAL_FACEBOOK=https://facebook.com/podverse
URL_SOCIAL_GITHUB=https://github.com/podverse
URL_SOCIAL_LINKEDIN=https://www.linkedin.com/company/podverse/
URL_SOCIAL_REDDIT=https://reddit.com/r/podverse
URL_SOCIAL_TWITTER=https://twitter.com/podverse
DEFAULT_THEME_DARK=TRUE
MATOMO_BASE_URL=https://analytics.podverse.fm/
MATOMO_ENDPOINT_PATH=matomo.php
MATOMO_SITE_ID=2
BROWSERSTACK_APP_ANDROID=''
BROWSERSTACK_APP_FDROID=''
BROWSERSTACK_APP_IOS=''
BROWSERSTACK_DEVICE_TYPE=''
BROWSERSTACK_USER=''
BROWSERSTACK_KEY=''
BROWSERSTACK_TEST_ENV=''
TEST_LNPAY_PUBLIC_API_KEY=
TEST_LNPAY_EXISTING_WALLET_ID=
TEST_LNPAY_EXISTING_WALLET_ADMIN_KEY=
STAGE_DATABASE_PASSWORD=
STAGE_SSH_HOST=
STAGE_SSH_PORT=
STAGE_SSH_USERNAME=
SLACK_WEBHOOK=
priyanshu688 commented 3 years ago

@mitchdowney I tried but unable to do. Please unassign this

mitchdowney commented 3 years ago

Thanks for trying @priyanshu688!

r1jsheth commented 3 years ago

@mitchdowney I would like to pick this up.

r1jsheth commented 3 years ago

@mitchdowney Can we close this as the PR is already merged?