Skip to content

Commit

Permalink
Rename Kindling to PepperoniAppTemplate
Browse files Browse the repository at this point in the history
As request by @jevakallio at #23
  • Loading branch information
Hadrien de Cuzey authored and jevakallio committed Jun 2, 2016
1 parent 206970d commit 58f28a2
Show file tree
Hide file tree
Showing 25 changed files with 87 additions and 87 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -93,7 +93,7 @@ Read the **[Deployment guide](docs/DEPLOYMENT.md)** to learn how to deploy the a

## Contributing

If you find any problems, please [open an issue](https://github.com/futurice/react-native-kindling/issues/new) or submit a fix as a pull request.
If you find any problems, please [open an issue](https://github.com/futurice/react-native-pepperoniapptemplate/issues/new) or submit a fix as a pull request.

We welcome new features, but for large changes let's discuss first to make sure the changes can be accepted and integrated smoothly.

Expand Down
4 changes: 2 additions & 2 deletions android/app/BUCK
Expand Up @@ -46,13 +46,13 @@ android_library(

android_build_config(
name = 'build_config',
package = 'com.kindling',
package = 'com.pepperoniapptemplate',
)

android_resource(
name = 'res',
res = 'src/main/res',
package = 'com.kindling',
package = 'com.pepperoniapptemplate',
)

android_binary(
Expand Down
2 changes: 1 addition & 1 deletion android/app/app.iml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="Kindling" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="PepperoniAppTemplate" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Expand Up @@ -81,7 +81,7 @@ android {
buildToolsVersion "23.0.1"

defaultConfig {
applicationId "com.kindling"
applicationId "com.pepperoniapptemplate"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.kindling">
package="com.pepperoniapptemplate">

<uses-permission android:name="android.permission.INTERNET" />

Expand Down
4 changes: 2 additions & 2 deletions android/app/src/main/java/com/kindling/MainActivity.java
@@ -1,4 +1,4 @@
package com.kindling;
package com.pepperoniapptemplate;

import com.facebook.react.ReactActivity;
import com.auth0.lock.react.LockReactPackage;
Expand All @@ -16,7 +16,7 @@ public class MainActivity extends ReactActivity {
*/
@Override
protected String getMainComponentName() {
return "Kindling";
return "PepperoniAppTemplate";
}

/**
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/res/values/strings.xml
@@ -1,3 +1,3 @@
<resources>
<string name="app_name">Kindling</string>
<string name="app_name">PepperoniAppTemplate</string>
</resources>
2 changes: 1 addition & 1 deletion android/settings.gradle
@@ -1,4 +1,4 @@
rootProject.name = 'Kindling'
rootProject.name = 'PepperoniAppTemplate'

include ':app'
include ':react-native-lock'
Expand Down
4 changes: 2 additions & 2 deletions bitrise/bitrise.ios.yml
Expand Up @@ -3,10 +3,10 @@ format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- BITRISE_PROJECT_PATH: ios/Kindling.xcworkspace
- BITRISE_PROJECT_PATH: ios/PepperoniAppTemplate.xcworkspace
opts:
is_expand: false
- BITRISE_SCHEME: Kindling
- BITRISE_SCHEME: PepperoniAppTemplate
opts:
is_expand: false
trigger_map:
Expand Down
4 changes: 2 additions & 2 deletions index.android.js
Expand Up @@ -6,7 +6,7 @@ import React from 'react';
import {AppRegistry, BackAndroid} from 'react-native';
import * as NavigationStateActions from './src/modules/navigation/NavigationState';

const Kindling = React.createClass({
const PepperoniAppTemplate = React.createClass({

componentWillMount() {
BackAndroid.addEventListener('hardwareBackPress', this.navigateBack);
Expand Down Expand Up @@ -42,4 +42,4 @@ const Kindling = React.createClass({
}
});

AppRegistry.registerComponent('Kindling', () => Kindling);
AppRegistry.registerComponent('PepperoniAppTemplate', () => PepperoniAppTemplate);
4 changes: 2 additions & 2 deletions index.ios.js
Expand Up @@ -5,7 +5,7 @@ import AppViewContainer from './src/modules/AppViewContainer';
import React from 'react';
import {AppRegistry} from 'react-native';

const Kindling = React.createClass({
const PepperoniAppTemplate = React.createClass({

render() {
return (
Expand All @@ -16,4 +16,4 @@ const Kindling = React.createClass({
}
});

AppRegistry.registerComponent('Kindling', () => Kindling);
AppRegistry.registerComponent('PepperoniAppTemplate', () => PepperoniAppTemplate);

Large diffs are not rendered by default.

Expand Up @@ -15,9 +15,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "Kindling.app"
BlueprintName = "Kindling"
ReferencedContainer = "container:Kindling.xcodeproj">
BuildableName = "PepperoniAppTemplate.app"
BlueprintName = "PepperoniAppTemplate"
ReferencedContainer = "container:PepperoniAppTemplate.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
Expand All @@ -29,9 +29,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
BuildableName = "KindlingTests.xctest"
BlueprintName = "KindlingTests"
ReferencedContainer = "container:Kindling.xcodeproj">
BuildableName = "PepperoniAppTemplateTests.xctest"
BlueprintName = "PepperoniAppTemplateTests"
ReferencedContainer = "container:PepperoniAppTemplate.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -47,19 +47,19 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
BuildableName = "KindlingTests.xctest"
BlueprintName = "KindlingTests"
ReferencedContainer = "container:Kindling.xcodeproj">
BuildableName = "PepperoniAppTemplateTests.xctest"
BlueprintName = "PepperoniAppTemplateTests"
ReferencedContainer = "container:PepperoniAppTemplate.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "Kindling.app"
BlueprintName = "Kindling"
ReferencedContainer = "container:Kindling.xcodeproj">
BuildableName = "PepperoniAppTemplate.app"
BlueprintName = "PepperoniAppTemplate"
ReferencedContainer = "container:PepperoniAppTemplate.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
Expand All @@ -80,9 +80,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "Kindling.app"
BlueprintName = "Kindling"
ReferencedContainer = "container:Kindling.xcodeproj">
BuildableName = "PepperoniAppTemplate.app"
BlueprintName = "PepperoniAppTemplate"
ReferencedContainer = "container:PepperoniAppTemplate.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
Expand All @@ -99,9 +99,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "Kindling.app"
BlueprintName = "Kindling"
ReferencedContainer = "container:Kindling.xcodeproj">
BuildableName = "PepperoniAppTemplate.app"
BlueprintName = "PepperoniAppTemplate"
ReferencedContainer = "container:PepperoniAppTemplate.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down

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

File renamed without changes.
Expand Up @@ -47,7 +47,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
#endif

RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
moduleName:@"Kindling"
moduleName:@"PepperoniAppTemplate"
initialProperties:nil
launchOptions:launchOptions];

Expand Down
Expand Up @@ -18,7 +18,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Kindling" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="PepperoniAppTemplate" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
<rect key="frame" x="20" y="140" width="441" height="43"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -16,11 +16,11 @@
#define TIMEOUT_SECONDS 240
#define TEXT_TO_LOOK_FOR @"I'm bored!"

@interface KindlingTests : XCTestCase
@interface PepperoniAppTemplateTests : XCTestCase

@end

@implementation KindlingTests
@implementation PepperoniAppTemplateTests

- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
{
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,5 +1,5 @@
{
"name": "Kindling",
"name": "PepperoniAppTemplate",
"author": "Futurice",
"description": "React Native App Starter Kit for Android and iOS",
"license": "MIT",
Expand All @@ -20,7 +20,7 @@
"private": false,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"bundle:ios": "node ./node_modules/react-native/local-cli/cli.js bundle --platform ios --entry-file index.ios.js --bundle-output ios/Kindling/main.jsbundle --dev=false --minify --verbose",
"bundle:ios": "node ./node_modules/react-native/local-cli/cli.js bundle --platform ios --entry-file index.ios.js --bundle-output ios/PepperoniAppTemplate/main.jsbundle --dev=false --minify --verbose",
"test": "mocha src/**/*.spec.js",
"test:watch": "chokidar 'src/**/*.js' 'test/**/*.js' -c 'npm test'",
"coverage": "babel-node node_modules/isparta/bin/isparta cover --i=src/**/*.js --x=src/**/*.spec.js --x=node_modules node_modules/mocha/bin/_mocha -- src/**/*.spec.js",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/snapshot.js
@@ -1,6 +1,6 @@
import {AsyncStorage} from 'react-native';
import {fromJS} from 'immutable';
const STATE_STORAGE_KEY = 'KindlingAppState:Latest';
const STATE_STORAGE_KEY = 'PepperoniAppTemplateAppState:Latest';

export async function resetSnapshot() {
const state = await rehydrate();
Expand Down

0 comments on commit 58f28a2

Please sign in to comment.