Skip to content

Commit

Permalink
Can launch android in debug-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rottabonus committed Sep 14, 2024
1 parent ed73a77 commit c60ac12
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 180 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ build/
local.properties
*.iml
*.hprof
.cxx/
.settings
.project
android/app/.project
android/app/.classpath

# Visual Studio Code
#
Expand Down
76 changes: 0 additions & 76 deletions android/app/src/debug/java/com/ylitse/ReactNativeFlipper.java

This file was deleted.

2 changes: 1 addition & 1 deletion android/app/src/main/java/com/ylitse/MainApplication.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rndiffapp
package com.ylitse

import android.app.Application
import com.facebook.react.PackageList
Expand Down
18 changes: 0 additions & 18 deletions android/app/src/release/java/com/ylitse/ReactNativeFlipper.java

This file was deleted.

2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=true
newArchEnabled=false

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
Expand Down
96 changes: 25 additions & 71 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
},
"dependencies": {
"@devexperts/remote-data-ts": "2.1.1",
"@react-native-async-storage/async-storage": "1.24.0",
"@react-native-community/slider": "4.4.2",
"@react-native-async-storage/async-storage": "2.0.0",
"@react-native-community/slider": "4.5.3",
"@react-native-firebase/app": "18.3.2",
"@react-native-firebase/messaging": "18.3.2",
"@react-navigation/bottom-tabs": "6.5.7",
"@react-navigation/native": "6.1.6",
"@react-navigation/stack": "6.3.16",
"@react-navigation/bottom-tabs": "6.6.1",
"@react-navigation/native": "6.1.18",
"@react-navigation/stack": "6.4.1",
"fp-ts": "2.13.1",
"fp-ts-rxjs": "0.6.15",
"io-ts": "2.2.20",
Expand All @@ -37,8 +37,7 @@
"react-native-screens": "3.34.0",
"react-redux": "8.0.5",
"redux": "4.2.1",
"redux-automaton": "0.1.3",
"redux-flipper": "^2.0.2"
"redux-automaton": "0.1.3"
},
"devDependencies": {
"@babel/core": "^7.0.0",
Expand All @@ -51,7 +50,6 @@
"@tsconfig/react-native": "2.0.3",
"@types/jest": "29.5.0",
"@types/react": "18.2.6",
"@types/react-redux": "7.1.25",
"@types/react-test-renderer": "18.0.0",
"babel-jest": "29.6.3",
"babel-plugin-module-resolver": "5.0.0",
Expand Down
5 changes: 0 additions & 5 deletions src/state/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,11 @@ import * as redux from 'redux';
import * as types from './types';
import * as reducers from './reducers';
import * as middleware from './middleware';
import createDebugger from 'redux-flipper';

export type AppState = types.AppState;

const middlewares = [middleware.taskRunner];

if (__DEV__) {
middlewares.push(createDebugger());
}

const enhancer = redux.compose(redux.applyMiddleware(...middlewares));

export const store = automaton.createStore(
Expand Down

0 comments on commit c60ac12

Please sign in to comment.