Skip to content

Commit

Permalink
Bump Ionicons
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Jul 3, 2018
1 parent 5657ca4 commit 0699a13
Show file tree
Hide file tree
Showing 9 changed files with 106 additions and 47 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-native-keyboard",
"version": "1.5.6",
"version": "1.5.7",
"description": "This plugin aims to solve common keyboard problems encountered with Cordova / PhoneGap apps. The messenger component (see screenshots) is ready for production, but this plugin will have more tricks up its sleeve. I'll document those once they're ready for primetime as well.",
"cordova": {
"id": "cordova-plugin-native-keyboard",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-native-keyboard"
version="1.5.6">
version="1.5.7">

<name>Native Keyboard</name>

Expand Down
Binary file modified src/android/lib/nativekeyboard.jar
Binary file not shown.
53 changes: 53 additions & 0 deletions src/ios/lib/NativeKeyboard.framework/Headers/IonIcons-iOS.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
//
// IonIcons.h
// ionicons-iOS is Copyright 2013 David Sweetman and released under the MIT license.
// http://www.taptemplate.com
// ==========================
//

#import <UIKit/UIKit.h>

#import "ionicons-codes.h"

@interface IonIcons : NSObject

//================================
// Font and Label Methods
//================================

/*! Convenience method to get the ionicons font.
*/
+ (UIFont*)fontWithSize:(CGFloat)size;

/*! Convenience method to make a sized-to-fit UILabel containing an icon in the given font size and color.
*/
+ (UILabel*)labelWithIcon:(NSString*)icon_name
size:(CGFloat)size
color:(UIColor*)color;

/*! Adjust an existing UILabel to show an ionicon.
*/
+ (void)label:(UILabel*)label
setIcon:(NSString*)icon_name
size:(CGFloat)size
color:(UIColor*)color
sizeToFit:(BOOL)shouldSizeToFit;

//================================
// Image Methods
//================================

/*! Create a UIImage of an ionocin, making the image and the icon the same size:
*/
+ (UIImage*)imageWithIcon:(NSString*)icon_name
size:(CGFloat)size
color:(UIColor*)color;

/*! Create a UIImage of an ionocin, and specify different sizes for the image and the icon:
*/
+ (UIImage*)imageWithIcon:(NSString*)icon_name
iconColor:(UIColor*)color
iconSize:(CGFloat)iconSize
imageSize:(CGSize)imageSize;

@end
55 changes: 10 additions & 45 deletions src/ios/lib/NativeKeyboard.framework/Headers/IonIcons.h
Original file line number Diff line number Diff line change
@@ -1,53 +1,18 @@
//
// IonIcons.h
// ionicons-iOS is Copyright 2013 TapTemplate and released under the MIT license.
// http://www.taptemplate.com
// ==========================
// ionicons.h
// ionicons
//
// Created by sweetman on 5/1/17.
// Copyright © 2017 David Sweetman. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "ionicons-codes.h"

@interface IonIcons : NSObject

//================================
// Font and Label Methods
//================================

/*! Convenience method to get the ionicons font.
*/
+ (UIFont*)fontWithSize:(CGFloat)size;

/*! Convenience method to make a sized-to-fit UILabel containing an icon in the given font size and color.
*/
+ (UILabel*)labelWithIcon:(NSString*)icon_name
size:(CGFloat)size
color:(UIColor*)color;

/*! Adjust an existing UILabel to show an ionicon.
*/
+ (void)label:(UILabel*)label
setIcon:(NSString*)icon_name
size:(CGFloat)size
color:(UIColor*)color
sizeToFit:(BOOL)shouldSizeToFit;

//================================
// Image Methods
//================================
//! Project version number for ionicons.
FOUNDATION_EXPORT double ioniconsVersionNumber;

/*! Create a UIImage of an ionocin, making the image and the icon the same size:
*/
+ (UIImage*)imageWithIcon:(NSString*)icon_name
size:(CGFloat)size
color:(UIColor*)color;
//! Project version string for ionicons.
FOUNDATION_EXPORT const unsigned char ioniconsVersionString[];

/*! Create a UIImage of an ionocin, and specify different sizes for the image and the icon:
*/
+ (UIImage*)imageWithIcon:(NSString*)icon_name
iconColor:(UIColor*)color
iconSize:(CGFloat)iconSize
imageSize:(CGSize)imageSize;
#import "IonIcons-iOS.h"

@end
Binary file modified src/ios/lib/NativeKeyboard.framework/Info.plist
Binary file not shown.
Binary file modified src/ios/lib/NativeKeyboard.framework/NativeKeyboard
Binary file not shown.
22 changes: 22 additions & 0 deletions src/ios/lib/NativeKeyboard.framework/ionicons.bundle/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// ionicons.h
// ionicons
//
// Created by sweetman on 5/1/17.
// Copyright © 2017 TapTemplate. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for ionicons.
FOUNDATION_EXPORT double ioniconsVersionNumber;

//! Project version string for ionicons.
FOUNDATION_EXPORT const unsigned char ioniconsVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <ionicons/PublicHeader.h>


0 comments on commit 0699a13

Please sign in to comment.