diff --git a/android/app/build.gradle b/android/app/build.gradle index 6abbbf4..6a6c84a 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -100,11 +100,13 @@ android { buildTypes { debug { signingConfig signingConfigs.debug + resValue "string", "CodePushDeploymentKey", '4ijAnhf96jc8n0bXMofRN3ACQw_KxrG_TM8C8' } release { signingConfig signingConfigs.release minifyEnabled enableProguardInReleaseBuilds proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" + resValue "string", "CodePushDeploymentKey", '4ijAnhf96jc8n0bXMofRN3ACQw_KxrG_TM8C8' } } } diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index 8ffabde..91c2060 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -1,4 +1,3 @@ Negative Harmony - _E6pPExPbuekfs8--1P1KXx0_9PCdp9lfNFHw diff --git a/app/components/Body.tsx b/app/components/Body.tsx index 38bc8a4..44bdba0 100644 --- a/app/components/Body.tsx +++ b/app/components/Body.tsx @@ -21,7 +21,6 @@ function Body() { const [loadingAnimationDone, setLoadingAnimationDone] = useState(false); const initLoad = useRef(true); const timeoutRef = useRef(); - // const announcementSeen = get(cms, 'timestamps.local.announcement', 0) < get(cms, 'timestamps.announcement', 0); useEffect(() => { if (initLoad.current) { diff --git a/app/components/screens/Info.tsx b/app/components/screens/Info.tsx index 34cd8aa..11cc9f7 100644 --- a/app/components/screens/Info.tsx +++ b/app/components/screens/Info.tsx @@ -21,7 +21,8 @@ function Info() { const screenOpacity = useRef(new Animated.Value(0)).current; const handleDeveloperModeToggle = () => { - if (secretDeviceIdTap === 7) { + const tapCount = secretDeviceIdTap + 1; + if (tapCount === 7) { dispatch(actions.toggleDeveloperMode(true)); teleport( @@ -32,7 +33,7 @@ function Info() { return; } - setSecretDeviceIdTap(secretDeviceIdTap + 1); + setSecretDeviceIdTap(tapCount); }; useEffect(() => { diff --git a/app/locales/en.json b/app/locales/en.json index 55edce2..7d1ae13 100644 --- a/app/locales/en.json +++ b/app/locales/en.json @@ -42,14 +42,5 @@ "paragraph_2": "The negative chord names may not always be exactly right because of the way the chord naming system works.\n\nIn practise the chord name comes from the tonic/root note followed by the structure/pattern (major, minor, suspended...) this rule is broken when looking at negative chords where the tonic/root is actually the last note played going from left to right on the piano.\n\nBecause of this, the app looks if the negative chord pattern has a match when mirrored and compared to the regular one. If so it determines the chord name by taking the 'negative' tonic/root note and displaying the chord name.\n\nThough the chord name may vary depending on what you consider to be the tonic/root note the notes displayed in the negative chords are always correct.", "paragraph_3": "If you find any bugs, incorrect representations of the notes or chords, please contact us at:\n", "email": "chimerastudiotm@gmail.com" - }, - "announcement": { - "title": "Attention!", - "cta": "Okay" - }, - "error": { - "title": "Attention!", - "text": "The new version of Negative Harmony requires internet to download all of the latest features.\n\nPlease make sure you are connected and try again.\n\n*You only need internet to download the latest features once afterwards, you can use the app offline if you wish to do so.", - "cta": "Try Again" } -} +} \ No newline at end of file diff --git a/app/tokens/index.ts b/app/tokens/index.ts index c218b84..633cd87 100644 --- a/app/tokens/index.ts +++ b/app/tokens/index.ts @@ -34,7 +34,6 @@ export const codepush = { }; export const localStorageKeys = { - announcementTimestamp: 'announcementTimestamp', reviewTimestamp: 'reviewTimestamp', rewardedAt: 'rewardedAt', };