diff --git a/android/core/resources/src/main/res/values/strings.xml b/android/core/resources/src/main/res/values/strings.xml index 7b081afc..4e181b3d 100644 --- a/android/core/resources/src/main/res/values/strings.xml +++ b/android/core/resources/src/main/res/values/strings.xml @@ -46,6 +46,7 @@ 1. Open your Cardano supported web3 wallet app 2. Use this URL to connect your wallet how to connect + "https://newm.io/app/" https://tools.newm.io/wallet-connect https://tools.newm.io Next @@ -79,22 +80,21 @@ Your new password Search Second Fragment - 👉 Tap in and discover what you\'re missing: https://newm.io - 🚀 Vibing to %1$s by %2$s on the Newm App! 🎧 Don\'t miss out! - 🎶 Can\'t stop grooving to %1$s by %2$s. Catch the beat on Newm! 🔥 - 🎧 Jammin\' to %1$s by %2$s on repeat! Newm\'s got the tunes! 🚀 - 🎉 Just found my new anthem: %1$s by %2$s! Discover yours on Newm! 🎶 - 🔥 Turn it up! %1$s by %2$s is a whole vibe on Newm App! 🎶 - 🌟 If you\'re not listening to %1$s by %2$s on Newm, you\'re missing out! 🎧 - 🎶 Locked into the rhythm of %1$s by %2$s on Newm App. Check it out! 🔥 - 🚀 Fueling my day with %1$s by %2$s. Newm App has all the jams! 🎧 - 🎉 Newm App’s playlist on fire with %1$s by %2$s. Ready to vibe? 🔥 - 🎧 Tuning into the best beats with %1$s by %2$s on Newm! 🚀 - 🔥 Crank up %1$s by %2$s on Newm App. The track is lit! 🎶 - 🎉 Found my groove with %1$s by %2$s. Discover fresh beats on Newm! 🚀 - 🎧 You NEED to hear %1$s by %2$s! Now playing on Newm App! 🔥 - 🎶 Feeling the rhythm of %1$s by %2$s. Newm App = non-stop vibes! 🚀 - 🔥 Plug into the sound of %1$s by %2$s on Newm App. Your new favorite jam awaits! 🎧 + Tune in to %1$s by %2$s on NEWM app! \n👉 Discover your next favorite song: %3$s + Find your rhythm with %1$s by %2$s on NEWM app. \n👉 Download NEWM app to start listening: %3$s + Bless your ears with %1$s by %2$s on NEWM app! \n👉 Download NEWM app to start listening: %3$s + %1$s by %2$s is the track you didn’t know you needed on NEWM app. \n👉 Download NEWM app to discover & listen: %3$s + Ready to refresh your playlist? %1$s by %2$s is live on NEWM app! \n👉 Check it out: %3$s + %1$s by %2$s is perfect for your next playlist. Stream it on NEWM app! \n👉 Discover it here: %3$s + If you\'re not listening to %1$s by %2$s, you\'re missing out! \n👉 Download NEWM app to discover & listen: %3$s + %1$s by %2$s is a whole vibe on NEWM app! \n👉 Discover your next playlist-worthy track: %3$s + Ready for a new vibe? %1$s by %2$s is waiting for you on NEWM app! \n👉 Discover more music on NEWM app: %3$s + Can\'t stop playing %1$s by %2$s? Stream it on NEWM app now! \n👉 Discover more: %3$s + Lose yourself in %1$s by %2$s! Download the NEWM app and start listening now. \n👉 Explore more music: %3$s + Welcome to your next music obsession – %1$s by %2$s! \nDownload the NEWM app and start listening now. \n👉 %3$s + Explore %1$s by %2$s on NEWM app and level-up your playlist! \n👉 Download NEWM app to discover & listen: %3$s + Love discovering new music? Start with %1$s by %2$s on NEWM app. \n👉 Download NEWM app to discover & listen: %3$s + Looking for fresh tracks? %1$s by %2$s is a must-listen on NEWM app! \n👉 Download NEWM app to discover & listen: %3$s Stars Earnings Followers this week diff --git a/android/features/music-player/src/main/java/io/newm/feature/musicplayer/MusicPlayerViewer.kt b/android/features/music-player/src/main/java/io/newm/feature/musicplayer/MusicPlayerViewer.kt index 0de4d7eb..7085eb1e 100644 --- a/android/features/music-player/src/main/java/io/newm/feature/musicplayer/MusicPlayerViewer.kt +++ b/android/features/music-player/src/main/java/io/newm/feature/musicplayer/MusicPlayerViewer.kt @@ -63,7 +63,6 @@ import io.newm.feature.musicplayer.models.PlaybackState import io.newm.feature.musicplayer.models.PlaybackStatus import io.newm.feature.musicplayer.models.Track import io.newm.feature.musicplayer.share.ShareButton -import io.newm.feature.musicplayer.share.getRandomSharePhrase import io.newm.feature.musicplayer.viewmodel.PlaybackUiEvent import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch diff --git a/android/features/music-player/src/main/java/io/newm/feature/musicplayer/share/RandomPhraseGenerator.kt b/android/features/music-player/src/main/java/io/newm/feature/musicplayer/share/RandomPhraseGenerator.kt index 4714a927..7f9a424c 100644 --- a/android/features/music-player/src/main/java/io/newm/feature/musicplayer/share/RandomPhraseGenerator.kt +++ b/android/features/music-player/src/main/java/io/newm/feature/musicplayer/share/RandomPhraseGenerator.kt @@ -3,7 +3,7 @@ package io.newm.feature.musicplayer.share import android.content.Context import io.newm.core.resources.R -fun Context.getRandomSharePhrase(songTitle: String, songArtist: String): String { +fun Context.getRandomSharePhrase(songTitle: String, songArtist: String, url: String): String { val phraseIds = listOf( R.string.share_phrase_1, R.string.share_phrase_2, @@ -21,5 +21,5 @@ fun Context.getRandomSharePhrase(songTitle: String, songArtist: String): String R.string.share_phrase_14, R.string.share_phrase_15 ) - return this.getString( phraseIds.random(), songTitle, songArtist) + return this.getString(phraseIds.random(), songTitle, songArtist, url) } \ No newline at end of file diff --git a/android/features/music-player/src/main/java/io/newm/feature/musicplayer/share/ShareButton.kt b/android/features/music-player/src/main/java/io/newm/feature/musicplayer/share/ShareButton.kt index c5137e27..110d83ee 100644 --- a/android/features/music-player/src/main/java/io/newm/feature/musicplayer/share/ShareButton.kt +++ b/android/features/music-player/src/main/java/io/newm/feature/musicplayer/share/ShareButton.kt @@ -31,17 +31,14 @@ fun ShareButton( } fun shareSong(context: Context, songTitle: String, songArtist: String) { - val randomPhrase = context.getRandomSharePhrase(songTitle, songArtist) - val callToAction = context.getString(R.string.share_call_to_action) - val shareText = """ - $randomPhrase - - $callToAction - """.trimIndent() - + val randomPhrase = context.getRandomSharePhrase( + songTitle, + songArtist, + context.getString(R.string.newm_download_app_landing_page) + ) val shareIntent = Intent().apply { action = Intent.ACTION_SEND - putExtra(Intent.EXTRA_TEXT, shareText) + putExtra(Intent.EXTRA_TEXT, randomPhrase) type = "text/plain" } val chooser = Intent.createChooser(shareIntent, "Share song via")