19 changes: 18 additions & 1 deletion example/EditorScreen.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

import React, { Component } from 'react';
import {NativeAppEventEmitter} from 'react-native';
import EditorManager from 'react-native-wordpress-editor';


let eventSubscribers = [];

export default class EditorScreen extends Component {
Expand Down
18 changes: 18 additions & 0 deletions example/WelcomeScreen.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

import React, { Component } from 'react';
import {
StyleSheet,
Expand Down
18 changes: 18 additions & 0 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

apply plugin: "com.android.application"

import com.android.build.OutputFile
Expand Down
23 changes: 14 additions & 9 deletions example/android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
# This file is part of the react-native-wordpress-editor project.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:
# Copyright (C) 2016 Wix.com Ltd
#
# react-native-wordpress-editor is free software: you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of the License.
#
# react-native-wordpress-editor is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
Expand Down
18 changes: 18 additions & 0 deletions example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
<!--
This file is part of the react-native-wordpress-editor project.
Copyright (C) 2016 Wix.com Ltd
react-native-wordpress-editor is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 2 of the License.
react-native-wordpress-editor is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along
with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example"
android:versionCode="1"
Expand Down
18 changes: 18 additions & 0 deletions example/android/app/src/main/java/com/example/App.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

package com.example;

import android.support.annotation.NonNull;
Expand Down
18 changes: 18 additions & 0 deletions example/android/app/src/main/java/com/example/MainActivity.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

package com.example;

import com.reactnativenavigation.controllers.SplashActivity;
Expand Down
18 changes: 18 additions & 0 deletions example/android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
<!--
This file is part of the react-native-wordpress-editor project.
Copyright (C) 2016 Wix.com Ltd
react-native-wordpress-editor is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 2 of the License.
react-native-wordpress-editor is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along
with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
-->

<resources>
<string name="app_name">example</string>
</resources>
18 changes: 18 additions & 0 deletions example/android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
<!--
This file is part of the react-native-wordpress-editor project.
Copyright (C) 2016 Wix.com Ltd
react-native-wordpress-editor is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 2 of the License.
react-native-wordpress-editor is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along
with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
-->

<resources>

<!-- Base application theme. -->
Expand Down
18 changes: 18 additions & 0 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
Expand Down
33 changes: 16 additions & 17 deletions example/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# This file is part of the react-native-wordpress-editor project.
#
# Copyright (C) 2016 Wix.com Ltd
#
# react-native-wordpress-editor is free software: you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of the License.
#
# react-native-wordpress-editor is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# Project-wide Gradle settings.

android.useDeprecatedNdk=true
16 changes: 16 additions & 0 deletions example/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of the react-native-wordpress-editor project.
#
# Copyright (C) 2016 Wix.com Ltd
#
# react-native-wordpress-editor is free software: you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of the License.
#
# react-native-wordpress-editor is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>

#Sun Jul 24 12:44:44 IDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
Expand Down
16 changes: 16 additions & 0 deletions example/android/keystores/debug.keystore.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of the react-native-wordpress-editor project.
#
# Copyright (C) 2016 Wix.com Ltd
#
# react-native-wordpress-editor is free software: you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 2 of the License.
#
# react-native-wordpress-editor is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>

key.store=debug.keystore
key.alias=androiddebugkey
key.store.password=android
Expand Down
18 changes: 18 additions & 0 deletions example/android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

rootProject.name = 'example'

include ':app'
Expand Down
20 changes: 16 additions & 4 deletions example/index.android.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

import React, { Component } from 'react';
Expand Down
20 changes: 16 additions & 4 deletions example/index.ios.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

import React, { Component } from 'react';
Expand Down
123 changes: 0 additions & 123 deletions example/ios/example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; };
133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
Expand Down Expand Up @@ -197,13 +196,6 @@
remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
remoteInfo = RCTVibration;
};
00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
remoteInfo = example;
};
139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
Expand Down Expand Up @@ -255,9 +247,6 @@
00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = "<group>"; };
00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = "<group>"; };
00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = "<group>"; };
00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = "<group>"; };
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -439,13 +428,6 @@
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
00E356EB1AD99517003FC87E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -507,23 +489,6 @@
name = Products;
sourceTree = "<group>";
};
00E356EF1AD99517003FC87E /* exampleTests */ = {
isa = PBXGroup;
children = (
00E356F21AD99517003FC87E /* exampleTests.m */,
00E356F01AD99517003FC87E /* Supporting Files */,
);
path = exampleTests;
sourceTree = "<group>";
};
00E356F01AD99517003FC87E /* Supporting Files */ = {
isa = PBXGroup;
children = (
00E356F11AD99517003FC87E /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
139105B71AF99BAD00B5F7CC /* Products */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -607,7 +572,6 @@
children = (
13B07FAE1A68108700A75B9A /* example */,
832341AE1AAA6A7D00B99B32 /* Libraries */,
00E356EF1AD99517003FC87E /* exampleTests */,
83CBBA001A601CBA00E9B192 /* Products */,
);
indentWidth = 2;
Expand All @@ -618,7 +582,6 @@
isa = PBXGroup;
children = (
13B07F961A680F5B00A75B9A /* example.app */,
00E356EE1AD99517003FC87E /* exampleTests.xctest */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -819,24 +782,6 @@
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
00E356ED1AD99517003FC87E /* exampleTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */;
buildPhases = (
00E356EA1AD99517003FC87E /* Sources */,
00E356EB1AD99517003FC87E /* Frameworks */,
00E356EC1AD99517003FC87E /* Resources */,
);
buildRules = (
);
dependencies = (
00E356F51AD99517003FC87E /* PBXTargetDependency */,
);
name = exampleTests;
productName = exampleTests;
productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
13B07F861A680F5B00A75B9A /* example */ = {
isa = PBXNativeTarget;
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */;
Expand All @@ -863,12 +808,6 @@
attributes = {
LastUpgradeCheck = 0610;
ORGANIZATIONNAME = Facebook;
TargetAttributes = {
00E356ED1AD99517003FC87E = {
CreatedOnToolsVersion = 6.2;
TestTargetID = 13B07F861A680F5B00A75B9A;
};
};
};
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -930,7 +869,6 @@
projectRoot = "";
targets = (
13B07F861A680F5B00A75B9A /* example */,
00E356ED1AD99517003FC87E /* exampleTests */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -1016,13 +954,6 @@
/* End PBXReferenceProxy section */

/* Begin PBXResourcesBuildPhase section */
00E356EC1AD99517003FC87E /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
13B07F8E1A680F5B00A75B9A /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -1161,14 +1092,6 @@
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
00E356EA1AD99517003FC87E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
00E356F31AD99517003FC87E /* exampleTests.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
13B07F871A680F5B00A75B9A /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -1207,14 +1130,6 @@
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 13B07F861A680F5B00A75B9A /* example */;
targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
isa = PBXVariantGroup;
Expand All @@ -1228,35 +1143,6 @@
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
00E356F61AD99517003FC87E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
INFOPLIST_FILE = exampleTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
};
name = Debug;
};
00E356F71AD99517003FC87E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
COPY_PHASE_STRIP = NO;
INFOPLIST_FILE = exampleTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example";
};
name = Release;
};
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -1387,15 +1273,6 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
00E356F61AD99517003FC87E /* Debug */,
00E356F71AD99517003FC87E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
24 changes: 0 additions & 24 deletions example/ios/exampleTests/Info.plist

This file was deleted.

70 changes: 0 additions & 70 deletions example/ios/exampleTests/exampleTests.m

This file was deleted.

1 change: 1 addition & 0 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{

"name": "example",
"version": "0.0.1",
"private": true,
Expand Down
20 changes: 19 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

import {NativeModules} from 'react-native';
module.exports = NativeModules.RNWordPressEditorManager;
module.exports = NativeModules.RNWordPressEditorManager;
24 changes: 17 additions & 7 deletions ios/RNWordPressEditorManager.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
//
// RNWordPressEditorManager.h
// example
//
// Created by Artal Druk on 09/06/2016.
// Copyright © 2016 Facebook. All rights reserved.
//
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

#import <Foundation/Foundation.h>
#import "RCTBridgeModule.h"
Expand Down
24 changes: 17 additions & 7 deletions ios/RNWordPressEditorManager.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
//
// RNWordPressEditorManager.m
// example
//
// Created by Artal Druk on 09/06/2016.
// Copyright © 2016 Facebook. All rights reserved.
//
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

#import "RNWordPressEditorManager.h"
#import "RNWordPressEditorViewController.h"
Expand Down
24 changes: 17 additions & 7 deletions ios/RNWordPressEditorViewController.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
//
// RNWordPressEditorViewController.h
// ReactNativeControllers
//
// Created by Artal Druk on 30/05/2016.
// Copyright © 2016 artal. All rights reserved.
//
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

#import <UIKit/UIKit.h>
#import "WPEditorViewController.h"
Expand Down
23 changes: 17 additions & 6 deletions ios/RNWordPressEditorViewController.m
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
//
// RNWordPressEditorViewController.m
//
// Created by Artal Druk on 30/05/2016.
// Copyright © 2016 artal. All rights reserved.
//
/*
* This file is part of the react-native-wordpress-editor project.
*
* Copyright (C) 2016 Wix.com Ltd
*
* react-native-wordpress-editor is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the License.
*
* react-native-wordpress-editor is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with react-native-wordpress-editor. If not, see <http://www.gnu.org/licenses/>
*/

#import "RNWordPressEditorViewController.h"
#import "WPEditorView.h"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git",
"url": "https://github.com/wix/react-native-wordpress-editor.git"
},
"version": "1.0.39",
"version": "2.0.0",
"description": "React Native Wrapper for WordPress Rich Text Editor. The WordPress-Editor is the text editor used in the official WordPress mobile apps to create and edit pages & posts",
"nativePackage": true,
"bugs": {
Expand All @@ -16,7 +16,7 @@
"homepage": "https://github.com/wix/react-native-wordpress-editor",
"main": "index.js",
"author": "Artal Druk <artald@wix.com>",
"license": "MIT",
"license": "GPL-2.0",
"peerDependencies": {
"react-native": ">=0.25.1",
"react": ">=0.14.5"
Expand Down