Skip to content

Commit

Permalink
Merge remote-tracking branch 'sarriaroman/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
nokrasnov committed May 5, 2016
2 parents 1599c28 + 963333d commit b9c4a93
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 11 deletions.
18 changes: 9 additions & 9 deletions hooks/lib/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var fs = require("fs");

/**
* Used to get the name of the application as defined in the config.xml.
*
*
* @param {object} context - The Cordova context.
* @returns {string} The value of the name element in config.xml.
*/
Expand All @@ -20,7 +20,7 @@ function getAppName(context) {

/**
* Used to get the path to the build.gradle file for the Android project.
*
*
* @returns {string} The path to the build.gradle file.
*/
function getBuildGradlePath() {
Expand All @@ -33,19 +33,19 @@ module.exports = {
* The ID of the plugin; this should match the ID in plugin.xml.
*/
getPluginId: function () {
return "com.sarriaroman.fabric";
return "cordova-fabric-plugin";
},

/**
* Used to get the plugin configuration for the given platform.
*
*
* The plugin configuration object will have the API and secret keys
* for the Fabric.io service that were specified when the plugin
* was installed.
*
*
* This configuration is obtained from, where "ios" is the platform name:
* platforms/ios/ios.json
*
*
* @param {string} platform - The platform to get plugin configuration for, either "ios" or "android".
* @returns {string} The path to the platform's plugin JSON configuration file.
*/
Expand All @@ -70,7 +70,7 @@ module.exports = {

/**
* Used to get the path to the XCode project's .pbxproj file.
*
*
* @param {object} context - The Cordova context.
* @returns The path to the XCode project's .pbxproj file.
*/
Expand All @@ -83,7 +83,7 @@ module.exports = {

/**
* Used to read the contents of the Android project's build.gradle file.
*
*
* @returns {string} The contents of the Android project's build.gradle file.
*/
readBuildGradle: function() {
Expand All @@ -93,7 +93,7 @@ module.exports = {
/**
* Used to write the given build.gradle contents to the Android project's
* build.gradle file.
*
*
* @param {string} buildGradle The body of the build.gradle file to write.
*/
writeBuildGradle: function(buildGradle) {
Expand Down
15 changes: 15 additions & 0 deletions lib/ios/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

These iOS framework bundles were obtained from Cocoapods:

https://cocoapods.org/pods/Fabric
https://cocoapods.org/pods/Crashlytics

Podspec references:

https://github.com/CocoaPods/Specs/blob/master/Specs/Fabric/1.6.5/Fabric.podspec.json
https://github.com/CocoaPods/Specs/blob/master/Specs/Crashlytics/3.6.0/Crashlytics.podspec.json

Framework package ZIPs:

https://kit-downloads.fabric.io/cocoapods/fabric/1.6.5/fabric.zip
https://kit-downloads.fabric.io/cocoapods/crashlytics/3.6.0/crashlytics.zip
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-fabric-plugin",
"version": "1.0.0",
"version": "1.0.7",
"description": "Cordova Fabric.io Plugin",
"cordova": {
"id": "cordova-fabric-plugin",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<plugin id="com.sarriaroman.fabric" version="1.0.0" xmlns="http://www.phonegap.com/ns/plugins/1.0">
<plugin id="cordova-fabric-plugin" version="1.0.7" xmlns="http://www.phonegap.com/ns/plugins/1.0">

<name>cordova-fabric-plugin</name>
<description>Cordova Fabric.io Plugin</description>
Expand Down

0 comments on commit b9c4a93

Please sign in to comment.