diff --git a/package.json b/package.json index 9ab4610..5efbef7 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/plugin.xml b/plugin.xml index f9f654e..e046d17 100755 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="1.5.7"> Native Keyboard diff --git a/src/android/lib/nativekeyboard.jar b/src/android/lib/nativekeyboard.jar index df1ebc2..586a494 100644 Binary files a/src/android/lib/nativekeyboard.jar and b/src/android/lib/nativekeyboard.jar differ diff --git a/src/ios/lib/NativeKeyboard.framework/Headers/IonIcons-iOS.h b/src/ios/lib/NativeKeyboard.framework/Headers/IonIcons-iOS.h new file mode 100755 index 0000000..09b3c6f --- /dev/null +++ b/src/ios/lib/NativeKeyboard.framework/Headers/IonIcons-iOS.h @@ -0,0 +1,53 @@ +// +// IonIcons.h +// ionicons-iOS is Copyright 2013 David Sweetman and released under the MIT license. +// http://www.taptemplate.com +// ========================== +// + +#import + +#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 diff --git a/src/ios/lib/NativeKeyboard.framework/Headers/IonIcons.h b/src/ios/lib/NativeKeyboard.framework/Headers/IonIcons.h index 9947f76..0eab8a6 100755 --- a/src/ios/lib/NativeKeyboard.framework/Headers/IonIcons.h +++ b/src/ios/lib/NativeKeyboard.framework/Headers/IonIcons.h @@ -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 -#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 diff --git a/src/ios/lib/NativeKeyboard.framework/Info.plist b/src/ios/lib/NativeKeyboard.framework/Info.plist index e389bd4..7ee7565 100644 Binary files a/src/ios/lib/NativeKeyboard.framework/Info.plist and b/src/ios/lib/NativeKeyboard.framework/Info.plist differ diff --git a/src/ios/lib/NativeKeyboard.framework/NativeKeyboard b/src/ios/lib/NativeKeyboard.framework/NativeKeyboard index 001b24e..3eff229 100644 Binary files a/src/ios/lib/NativeKeyboard.framework/NativeKeyboard and b/src/ios/lib/NativeKeyboard.framework/NativeKeyboard differ diff --git a/src/ios/lib/NativeKeyboard.framework/ionicons.bundle/Info.plist b/src/ios/lib/NativeKeyboard.framework/ionicons.bundle/Info.plist new file mode 100755 index 0000000..42531bb --- /dev/null +++ b/src/ios/lib/NativeKeyboard.framework/ionicons.bundle/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/src/ios/lib/NativeKeyboard.framework/ionicons.bundle/ionicons-lib.h b/src/ios/lib/NativeKeyboard.framework/ionicons.bundle/ionicons-lib.h new file mode 100755 index 0000000..d49be40 --- /dev/null +++ b/src/ios/lib/NativeKeyboard.framework/ionicons.bundle/ionicons-lib.h @@ -0,0 +1,19 @@ +// +// ionicons.h +// ionicons +// +// Created by sweetman on 5/1/17. +// Copyright © 2017 TapTemplate. All rights reserved. +// + +#import + +//! 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 + +