Commit 9b102854 authored by 7c00's avatar 7c00
Browse files

Update example dependencies

parent e0131865
Loading
Loading
Loading
Loading

example/.flowconfig

deleted100644 → 0
+0 −45
Original line number Original line Diff line number Diff line
[ignore]
; We fork some components by platform
.*/*[.]android.js

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/

; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*

; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js
.*/Libraries/react-native/ReactNative.js

[include]

[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow
flow/

[options]
emoji=true

module.system=haste

munge_underscores=true

module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

unsafe.enable_getters_and_setters=true

[version]
^0.49.1
+4 −0
Original line number Original line Diff line number Diff line
@@ -72,6 +72,10 @@ import com.android.build.OutputFile
 * ]
 * ]
 */
 */


project.ext.react = [
    entryFile: "index.js"
]

apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native/react.gradle"


/**
/**
+6 −1
Original line number Original line Diff line number Diff line
@@ -27,6 +27,11 @@ public class MainApplication extends Application implements ReactApplication {
          new AMap3DPackage()
          new AMap3DPackage()
      );
      );
    }
    }

    @Override
    protected String getJSMainModuleName() {
      return "index";
    }
  };
  };


  @Override
  @Override
+2 −1
Original line number Original line Diff line number Diff line
@@ -2,7 +2,8 @@


    <!-- Base application theme. -->
    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimaryDark">#e0e0e0</item>
        <item name="android:windowLightStatusBar">true</item>
    </style>
    </style>


</resources>
</resources>

example/index.ios.js

deleted100644 → 0
+0 −3
Original line number Original line Diff line number Diff line
import {AppRegistry} from 'react-native'
import App from './src/app'
AppRegistry.registerComponent('RNAMap3D', () => App)
Loading