Permalink
Browse files

Get ios app working

  • Loading branch information...
dantman committed Apr 28, 2017
1 parent 8fe579f commit 82a378a568744f3c8ae6924788833d94b5a703ba
Showing with 122 additions and 59 deletions.
  1. 0 {examples/MaterialExplorer → }/.gitattributes
  2. +52 −0 .gitignore
  3. +1 −0 .npmignore
  4. 0 {examples/MaterialExplorer → }/.watchmanconfig
  5. +12 −0 README.md
  6. +0 −53 examples/MaterialExplorer/.gitignore
  7. +13 −1 examples/MaterialExplorer/src/App.js
  8. 0 {examples/MaterialExplorer → }/ios/MaterialExplorer-tvOS/Info.plist
  9. 0 {examples/MaterialExplorer → }/ios/MaterialExplorer-tvOSTests/Info.plist
  10. +5 −1 {examples/MaterialExplorer → }/ios/MaterialExplorer.xcodeproj/project.pbxproj
  11. +7 −0 ios/MaterialExplorer.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  12. BIN ...plorer.xcodeproj/project.xcworkspace/xcuserdata/daniel.xcuserdatad/UserInterfaceState.xcuserstate
  13. 0 ...Explorer → }/ios/MaterialExplorer.xcodeproj/xcshareddata/xcschemes/MaterialExplorer-tvOS.xcscheme
  14. 0 ...erialExplorer → }/ios/MaterialExplorer.xcodeproj/xcshareddata/xcschemes/MaterialExplorer.xcscheme
  15. +29 −0 ios/MaterialExplorer.xcodeproj/xcuserdata/daniel.xcuserdatad/xcschemes/xcschememanagement.plist
  16. 0 {examples/MaterialExplorer → }/ios/MaterialExplorer/AppDelegate.h
  17. +1 −1 {examples/MaterialExplorer → }/ios/MaterialExplorer/AppDelegate.m
  18. 0 {examples/MaterialExplorer → }/ios/MaterialExplorer/Base.lproj/LaunchScreen.xib
  19. 0 {examples/MaterialExplorer → }/ios/MaterialExplorer/Images.xcassets/AppIcon.appiconset/Contents.json
  20. +1 −2 {examples/MaterialExplorer → }/ios/MaterialExplorer/Info.plist
  21. 0 {examples/MaterialExplorer → }/ios/MaterialExplorer/main.m
  22. 0 {examples/MaterialExplorer → }/ios/MaterialExplorerTests/Info.plist
  23. 0 {examples/MaterialExplorer → }/ios/MaterialExplorerTests/MaterialExplorerTests.m
  24. +1 −1 package.json
File renamed without changes.
View
@@ -1 +1,53 @@
# OSX
#
.DS_Store
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
# node.js
#
node_modules/
npm-debug.log
yarn-error.log
# BUCK
buck-out/
\.buckd/
*.keystore
# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
View
@@ -1,2 +1,3 @@
/examples/
/ios/
gulpfile.js
File renamed without changes.
View
@@ -31,6 +31,18 @@ npm start
npm run explorer-android
```
### iOS
You can also run `ios/MaterialExplorer.xcodeproj` in XCode in place of `npm run explorer-ios`.
```shell
cd material-native
npm install
npm start
# In a separate terminal tab:
npm run explorer-ios
```
## About
This project is developed based on the unmaintained [react-native-material-design][] and [react-native-material-kit][] libraries. The goal being to replace the two libraries with one library implementing all components supported by either library, merge the two communities into one, implement core features that both libraries are missing, and fix some persistent of the bugs in each library.

This file was deleted.

Oops, something went wrong.
@@ -1,17 +1,29 @@
'use strict';
import React, {PureComponent} from 'react';
import {StyleSheet, View, StatusBar} from 'react-native';
import {StackNavigator} from 'react-navigation';
import {Home, Colors, Typography} from './screens';
import {colors, shades} from './material-native';
export default class App extends PureComponent {
render() {
return (
<Navigator />
<View style={styles.root}>
<StatusBar
barStyle="light-content" />
<Navigator />
</View>
);
}
}
const styles = StyleSheet.create({
root: {
flex: 1,
},
});
const Navigator = StackNavigator({
Home: {
screen: Home,
@@ -565,7 +565,7 @@
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0610;
ORGANIZATIONNAME = Facebook;
ORGANIZATIONNAME = Redwerks;
TargetAttributes = {
00E356ED1AD99517003FC87E = {
CreatedOnToolsVersion = 6.2;
@@ -1005,7 +1005,9 @@
"-ObjC",
"-lc++",
);
PRODUCT_BUNDLE_IDENTIFIER = org.redwerks.opensource.MaterialExplorer;
PRODUCT_NAME = MaterialExplorer;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
@@ -1022,7 +1024,9 @@
"-ObjC",
"-lc++",
);
PRODUCT_BUNDLE_IDENTIFIER = org.redwerks.opensource.MaterialExplorer;
PRODUCT_NAME = MaterialExplorer;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>00E356ED1AD99517003FC87E</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>13B07F861A680F5B00A75B9A</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>2D02E47A1E0B4A5D006451C7</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>2D02E48F1E0B4A5D006451C7</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
@@ -18,7 +18,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
{
NSURL *jsCodeLocation;
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"examples/MaterialExplorer/index" fallbackResource:nil];
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
moduleName:@"MaterialExplorer"
@@ -9,7 +9,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>org.redwerks.opensource.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
@@ -41,7 +41,6 @@
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>NSAppTransportSecurity</key>
<!--See http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/ -->
<dict>
<key>NSExceptionDomains</key>
<dict>
View
@@ -28,7 +28,7 @@
"main": "src/index.js",
"scripts": {
"start": "node ./node_modules/react-native/local-cli/cli.js start --config ./rn-cli.config.js",
"explorer-ios": "cd examples/MaterialExplorer && react-native run-ios",
"explorer-ios": "react-native run-ios",
"explorer-android": "cd examples/MaterialExplorer && react-native run-android",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint ."

0 comments on commit 82a378a

Please sign in to comment.