Skip to content

Commit

Permalink
ColorPicker -> LiveInstagram
Browse files Browse the repository at this point in the history
  • Loading branch information
Swizec committed Apr 16, 2017
1 parent dc802db commit 8fddd4d
Show file tree
Hide file tree
Showing 72 changed files with 397 additions and 411 deletions.
3 changes: 0 additions & 3 deletions ColorPicker/android/app/src/main/res/values/strings.xml

This file was deleted.

4 changes: 0 additions & 4 deletions ColorPicker/app.json

This file was deleted.

68 changes: 0 additions & 68 deletions ColorPicker/src/App.js

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ android_library(

android_build_config(
name = "build_config",
package = "com.colorpicker",
package = "com.liveinstagram",
)

android_resource(
name = "res",
package = "com.colorpicker",
package = "com.liveinstagram",
res = "src/main/res",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ android {
buildToolsVersion "23.0.1"

defaultConfig {
applicationId "com.colorpicker"
applicationId "com.liveinstagram"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
Expand Down Expand Up @@ -126,12 +126,12 @@ android {
}

dependencies {
compile project(':gl-react-native')
compile project(':react-native-camera')
compile project(':react-native-photo-view')
compile project(':react-native-share')
compile project(':react-native-linear-gradient')
compile project(':react-native-vector-icons')
compile project(':gl-react-native')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.colorpicker"
package="com.liveinstagram"
android:versionCode="1"
android:versionName="1.0">

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.colorpicker;
package com.liveinstagram;

import com.facebook.react.ReactActivity;

Expand All @@ -10,6 +10,6 @@ public class MainActivity extends ReactActivity {
*/
@Override
protected String getMainComponentName() {
return "ColorPicker";
return "LiveInstagram";
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.colorpicker;
package com.liveinstagram;

import android.app.Application;

import com.facebook.react.ReactApplication;
import com.projectseptember.RNGL.RNGLPackage;
import com.lwansbrough.RCTCamera.RCTCameraPackage;
import com.reactnative.photoview.PhotoViewPackage;
import cl.json.RNSharePackage;
import com.BV.LinearGradient.LinearGradientPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.projectseptember.RNGL.RNGLPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
Expand All @@ -29,12 +29,12 @@ public boolean getUseDeveloperSupport() {
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new RNGLPackage(),
new RCTCameraPackage(),
new PhotoViewPackage(),
new RNSharePackage(),
new LinearGradientPackage(),
new VectorIconsPackage()
new VectorIconsPackage(),
new RNGLPackage()
);
}
};
Expand Down
3 changes: 3 additions & 0 deletions LiveInstagram/android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="app_name">LiveInstagram</string>
</resources>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
rootProject.name = 'ColorPicker'
include ':gl-react-native'
project(':gl-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/gl-react-native/android')
rootProject.name = 'LiveInstagram'
include ':react-native-camera'
project(':react-native-camera').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-camera/android')
include ':react-native-photo-view'
Expand All @@ -11,5 +9,7 @@ include ':react-native-linear-gradient'
project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android')
include ':react-native-vector-icons'
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
include ':gl-react-native'
project(':gl-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/gl-react-native/android')

include ':app'
4 changes: 4 additions & 0 deletions LiveInstagram/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "LiveInstagram",
"displayName": "LiveInstagram"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
View
} from 'react-native';

export default class ColorPicker extends Component {
export default class LiveInstagram extends Component {
render() {
return (
<View style={styles.container}>
Expand Down Expand Up @@ -50,4 +50,4 @@ const styles = StyleSheet.create({
},
});

AppRegistry.registerComponent('ColorPicker', () => ColorPicker);
AppRegistry.registerComponent('LiveInstagram', () => LiveInstagram);
9 changes: 1 addition & 8 deletions ColorPicker/index.ios.js → LiveInstagram/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,5 @@ import {

import App from './src/App';

export default class ColorPicker extends Component {
render() {
return (
<App />
);
}
}

AppRegistry.registerComponent('ColorPicker', () => ColorPicker);
AppRegistry.registerComponent('LiveInstagram', () => App);
File renamed without changes.
Loading

0 comments on commit 8fddd4d

Please sign in to comment.