Quantcast
Channel: Ionic Forum - Latest topics
Viewing all 70435 articles
Browse latest View live

Ionic 2 application Build successes but not running on device and simulator

$
0
0

@inforicax wrote:

Hi Team,

I created one ionic 2 application and its working fine when I use ionic serve. But when I try to run the application on a device its not working. I used proper Provisioning profile.

Am pasting whole console. Please help to resolve this issue.

Console:

/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:80
:
12: note: ‘ALAssetsLibrary’ has been explicitly marked deprecated here
@interface ALAssetsLibrary : NSObject {
^
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:216:20: warning: ‘assetForURL:resultBlock:failureBlock:’ is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
[assetsLibrary assetForURL:[self assetLibraryURLForLocalURL:localURL] resultBlock:resultBlock failureBlock:failureBlock];

               ^

In module ’
AssetsLibrary’ imported from /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h
:
95:1: note: ‘assetForURL:resultBlock:failureBlock:’ has been explicitly marked deprecated here

  • (void)assetForURL:(NSURL *)assetURL resultBlock:(ALAssetsLibraryAssetForURLResultBlock)resultBlock failureBlock:(ALAssetsLibraryAccessFailureBlock)failureBlock NS_DEPRECATED_IOS(4_0, 9_0, “Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead”);
    ^
    /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:224:5: warning: ‘ALAssetsLibraryAssetForURLResultBlock’ is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]

    ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset* asset) {

    ^

In module ‘AssetsLibrary’ imported from /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:
23
:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:64:16:

note
: ‘ALAssetsLibraryAssetForURLResultBlock’ has been explicitly marked deprecated here
typedef void (^ALAssetsLibraryAssetForURLResultBlock)(ALAsset asset) NS_DEPRECATED_IOS(4_0, 9_0, “Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead”);
^
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m
:
228:65: warning: ‘defaultRepresentation’ is deprecated: first deprecated in iOS 9.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
ALAssetRepresentation
assetRepresentation = [asset defaultRepresentation];
^
In module ‘AssetsLibrary’ imported from /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:51:1: note
: ‘defaultRepresentation’ has been explicitly marked deprecated here

  • (ALAssetRepresentation *)defaultRepresentation NS_DEPRECATED_IOS(4_0, 9_0, “Use PHImageRequestOptions with the PHImageManager from the Photos framework instead”);

^
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:231:55: warning: ‘filename’ is deprecated: first deprecated in iOS 9.0 - Use the Photos framework instead [-Wdeprecated-declarations]
NSString* filename = [assetRepresentation filename];

                                                  ^

In module ’
AssetsLibrary
’ imported from
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m
:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h:
68
:1: note:
‘filename’ has been explicitly marked deprecated here

  • (NSString *)filename NS_DEPRECATED_IOS(5_0, 9_0, “Use the Photos framework instead”);

^

/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:234:60: warning: ‘ALAssetPropertyDate’ is deprecated: first deprecated in iOS 9.0 - Use the creationDate property on a PHAsset from the Photos framework instead [-Wdeprecated-declarations]
NSDate* creationDate = [asset valueForProperty:ALAssetPropertyDate];

                                                       ^

In module ’
AssetsLibrary’ imported from
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:27
:24: note: ‘ALAssetPropertyDate’ has been explicitly marked deprecated here
extern NSString *const ALAssetPropertyDate NS_DEPRECATED_IOS(4_0, 9_0, “Use the creationDate property on a PHAsset from the Photos framework instead”); // An NSDate with the asset’s creation date.
^
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m
:
234
:
43
:

warning: ‘valueForProperty:’ is deprecated: first deprecated in iOS 9.0 - Use PHAsset class properties from the Photos framework instead [-Wdeprecated-declarations]
NSDate* creationDate = [asset valueForProperty:ALAssetPropertyDate];
^
In module ‘AssetsLibrary’ imported from /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:48:1
: note: ‘valueForProperty:’ has been explicitly marked deprecated here

  • (id)valueForProperty:(NSString )property NS_DEPRECATED_IOS(4_0, 9_0, “Use PHAsset class properties from the Photos framework instead”);
    ^
    /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:224:59: warning: ‘ALAsset’ is deprecated: first deprecated in iOS 9.0 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
    ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset
    asset) {
    ^
    In module ‘AssetsLibrary’ imported from /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h
    :
    42
    :
    12
    :

note
:
‘ALAsset’ has been explicitly marked deprecated here

@interface ALAsset : NSObject {
^
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m
:
228:13: warning: ‘ALAssetRepresentation’ is deprecated: first deprecated in iOS 9.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
ALAssetRepresentation* assetRepresentation = [asset defaultRepresentation];

        ^

In module ‘AssetsLibrary’ imported from /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h
:22:12: note: ‘ALAssetRepresentation’ has been explicitly marked deprecated here
@interface ALAssetRepresentation : NSObject {
^
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:229:91: warning:
‘size’ is deprecated: first deprecated in iOS 9.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead [-Wdeprecated-declarations]
[fileInfo setObject:[NSNumber numberWithUnsignedLongLong:[assetRepresentation size]] forKey:@“size”];

                                                                                      ^

In module ‘AssetsLibrary’ imported from /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h:34:1: note:
‘size’ has been explicitly marked deprecated here

  • (long long)size NS_DEPRECATED_IOS(4_0, 9_0, “Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead”);
    ^
    /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:244:5: warning
    : ‘ALAssetsLibraryAccessFailureBlock’ is deprecated: first deprecated in iOS 9.0 - Use the Photos framework instead [-Wdeprecated-declarations]
    ALAssetsLibraryAccessFailureBlock failureBlock = ^(NSError* error) {

    ^
    In module ‘AssetsLibrary’ imported from /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:71:16:
    note: ‘ALAssetsLibraryAccessFailureBlock’ has been explicitly marked deprecated here
    typedef void (^ALAssetsLibraryAccessFailureBlock)(NSError *error) NS_DEPRECATED_IOS(4_0, 9_0, “Use the Photos framework instead”);

             ^
    

/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m
:249:5: warning: ‘ALAssetsLibrary’ is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];

^

In module ’
AssetsLibrary
’ imported from
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:80:12:
note: ‘ALAssetsLibrary’ has been explicitly marked deprecated here
@interface ALAssetsLibrary : NSObject {

       ^

/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m
:249:56
: warning: ‘ALAssetsLibrary’ is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]

ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
                                                   ^

In module ‘AssetsLibrary’ imported from
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:80:12:

note
:
‘ALAssetsLibrary’ has been explicitly marked deprecated here
@interface ALAssetsLibrary : NSObject {

       ^

/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:250:20: warning: ‘assetForURL:resultBlock:failureBlock:’ is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
[assetsLibrary assetForURL:[self assetLibraryURLForLocalURL:localURL] resultBlock:resultBlock failureBlock:failureBlock];

               ^

In module ’
AssetsLibrary
’ imported from
/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus Direct/Plugins/cordova-plugin-file/CDVAssetLibraryFilesystem.m:23:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:95:1
:
note: ‘assetForURL:resultBlock:failureBlock:’ has been explicitly marked deprecated here

  • (void)assetForURL:(NSURL *)assetURL resultBlock:(ALAssetsLibraryAssetForURLResultBlock)resultBlock failureBlock:(ALAssetsLibraryAccessFailureBlock)failureBlock NS_DEPRECATED_IOS(4_0, 9_0, “Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead”);
    ^
    23 warnings generated.

CompileC /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/AppVersion.o /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus\ Direct/Plugins/cordova-plugin-app-version/AppVersion.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target: FlexPlus Direct)
cd /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/var/root/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/root/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=10.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Index/DataStore -iquote /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/FlexPlus\ Direct-generated-files.hmap -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/FlexPlus\ Direct-own-target-headers.hmap -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/FlexPlus\ Direct-all-target-headers.hmap -iquote /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/FlexPlus\ Direct-project-headers.hmap -I/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/include -I/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/usr/local/lib/include -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/UninstalledProducts/include -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/UninstalledProducts/iphonesimulator/include -I/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/DerivedSources-normal/x86_64 -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/DerivedSources/x86_64 -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/DerivedSources -F/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator -include /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/sharedpch/SharedPrecompiledHeaders/2418875660098100287/FlexPlus\ Direct-Prefix.pch -MMD -MT dependencies -MF /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/AppVersion.d --serialize-diagnostics /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/AppVersion.dia -c /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus\ Direct/Plugins/cordova-plugin-app-version/AppVersion.m -o /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/AppVersion.o

CompileC /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/AppDelegate.o /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus\ Direct/Classes/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target: FlexPlus Direct)
cd /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/var/root/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/root/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=10.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Index/DataStore -iquote /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/FlexPlus\ Direct-generated-files.hmap -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/FlexPlus\ Direct-own-target-headers.hmap -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/FlexPlus\ Direct-all-target-headers.hmap -iquote /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/FlexPlus\ Direct-project-headers.hmap -I/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/include -I/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/usr/local/lib/include -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/UninstalledProducts/include -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/UninstalledProducts/iphonesimulator/include -I/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/DerivedSources-normal/x86_64 -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/DerivedSources/x86_64 -I/var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/DerivedSources -F/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator -include /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/sharedpch/SharedPrecompiledHeaders/2418875660098100287/FlexPlus\ Direct-Prefix.pch -MMD -MT dependencies -MF /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/AppDelegate.d --serialize-diagnostics /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/AppDelegate.dia -c /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/FlexPlus\ Direct/Classes/AppDelegate.m -o /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/AppDelegate.o

Ld /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/FlexPlus\ Direct.app/FlexPlus\ Direct normal x86_64 (in target: FlexPlus Direct)
cd /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios
export IPHONEOS_DEPLOYMENT_TARGET=10.0
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -L/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator -F/Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator -filelist /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/FlexPlus\ Direct.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=10.0 -dead_strip -Xlinker -object_path_lto -Xlinker /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/FlexPlus\ Direct_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/FlexPlus\ Direct.app-Simulated.xcent /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/libCordova.a -weak_framework SystemConfiguration -framework CoreTelephony -framework Security -Xlinker -dependency_info -Xlinker /var/root/Library/Developer/Xcode/DerivedData/FlexPlus_Direct-dyyfhgggvtueuodvfmzftnznynpp/Build/Intermediates.noindex/FlexPlus\ Direct.build/Debug-iphonesimulator/FlexPlus\ Direct.build/Objects-normal/x86_64/FlexPlus\ Direct_dependency_info.dat -o /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/FlexPlus\ Direct.app/FlexPlus\ Direct

CodeSign /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/FlexPlus\ Direct.app (in target: FlexPlus Direct)
cd /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity: “-”

/usr/bin/codesign --force --sign - --timestamp=none /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/FlexPlus\ Direct.app

GenerateDSYMFile /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/FlexPlus\ Direct.app.dSYM /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/FlexPlus\ Direct.app/FlexPlus\ Direct (in target: FlexPlus Direct)
cd /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/FlexPlus\ Direct.app/FlexPlus\ Direct -o /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/FlexPlus\ Direct.app.dSYM

Touch /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/FlexPlus\ Direct.app (in target: FlexPlus Direct)
cd /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios
/usr/bin/touch -c /Users/lappy/Desktop/FlexiPlan/FlexPlusMobile/Main/MobileApp/platforms/ios/build/emulator/FlexPlus\ Direct.app

** BUILD SUCCEEDED **

Ionic info:

Ionic:

ionic (Ionic CLI) : 4.12.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 2.2.0
@ionic/app-scripts : 3.2.3

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4, ios 5.0.0
Cordova Plugins : no whitelisted plugins (24 plugins total)

System:

ios-deploy : 1.9.4
ios-sim : 7.0.0
NodeJS : v8.9.1 (/usr/local/bin/node)
npm : 5.5.1
OS : macOS Mojave
Xcode : Xcode 10.2.1 Build version 10E1001

Posts: 1

Participants: 1

Read full topic


Two apps of same type in a device.( customer & vendor )

$
0
0

@viktrus wrote:

I have created two apps in ionic 4. One is for the customer and the second one is for Vendor. Things are working fine if I install one application in a device but if I install both applications, another one stopped working with an error.
“Unable to load the app.”

Posts: 1

Participants: 1

Read full topic

Change environment programatically after deploy, possible?

$
0
0

@SanduCuragau wrote:

Heys guys I was thinking of this situation, I have 2 environments, production and development, on each environment I have a different database connection, so let’s say I deploy the app with --prod then it’s gonna use the prod environment and database, but lets say in the app an admin wanted to swap to development mode and use the dev database, could I change the environment used to the dev one so that the connection would change ? Kinda messy but I think you guys get the point.

Posts: 1

Participants: 1

Read full topic

Working ionic v1 apps that need to upgrade to v4

$
0
0

@Pangiovas wrote:

Hi, we have 2 functional ionic gordoba v1 apps that one sends its gps signal to other and we ask for freelance offers to help us upgrade them to v4 framework.
Now apps cannot compile.

I ask for freelancers to suggest us a way of cooperation.
Thank you

Posts: 2

Participants: 2

Read full topic

Apple Rejection - ITMS-90338: Non-public API usage

$
0
0

@Codefarm wrote:

TMS-90338: Non-public API usage - The app contains or inherits from non-public classes in App Name: WKInterfaceDevice . If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app’s Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, to appreview@apple.com. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/

Posts: 1

Participants: 1

Read full topic

How do I delete Ionic Pro?

$
0
0

@DMoney wrote:

I initially set up Ionic Pro and linked my Ionic Dashboard to my GITHUB repo before knowing it was deprecated. So over the last month my app has been reverted to old version on my Android development device after deploying new functionality by connecting it to my MAC and running ionic cordova run android. Last night I deleted the app from the Ionic Dashboard and this morning my app was removed from my phone…just a shell. So how do I remove that feature from my app so it doesn’t try to get updates from my ionic pro dashboard repo?

Posts: 1

Participants: 1

Read full topic

Issue in ion-button usage within the ion-select

$
0
0

@AKLingesan wrote:

Hi, I’m trying to add a delete button with the ion-select-option, but isn’t working, Whenever try to click the delete button it shows the select option values.


<ng-container formArrayName="coordinator">
	<ion-item *ngFor="let coord of coordinator.controls; let i = index" [formGroupName]="i">					 
               <ion-label position="floating">Coordinator {{i+1}}</ion-label>
		<ion-select 
				formControlName="name"
				(ionChange)="coordinatorData($event)">
		<ion-select-option [value]="coord.name" *ngFor="let coord of coords">{{coord.name}}</ion-select-option>
		</ion-select>	   	
		<ion-button *ngIf='i>0'(click)='removeCoord(i)' slot = 'end'>x</ion-button>
	</ion-item> 
		<ion-button (click)='addNewCoord()'>Add Coord</ion-button>
	</ng-container>

Posts: 1

Participants: 1

Read full topic

Ionic 4 custom fonts

$
0
0

@amjayesh07 wrote:

Hello Folks,

I am trying to add custom fonts to my ionic 4 app,
i am getting error.

ERROR in ./src/global.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref–14-3!./src/global.scss)
[ng] Module Error (from ./node_modules/postcss-loader/src/index.js):
[ng] (Emitted value instead of an instance of Error) CssSyntaxError: C:\Users\OMS-Jayesh\hawat2\hawat2\src\global.scss:33:9: Can’t resolve ‘…assets/fonts/Axiforma-Light.woff2’ in ‘C:\Users\OMS-Jayesh\hawat2\hawat2\src’

Below is my code

I am adding this in Global.css also font files added in the respective folder

@font-face {
    font-family: 'Axiforma';
    src: url('..assets/fonts/Axiforma-Regular.woff2') format('woff2'),
        url('..assets/fonts/Axiforma-Regular.woff') format('woff'),
        url('..assets/fonts/Axiforma-Regular.svg#Axiforma-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Axiforma';
    src: url('..assets/fonts/Axiforma-Book.woff2') format('woff2'),
        url('..assets/fonts/Axiforma-Book.woff') format('woff'),
        url('..assets/fonts/Axiforma-Book.svg#Axiforma-Book') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Axiforma';
    src: url('..assets/fonts/Axiforma-Light.woff2') format('woff2'),
        url('..assets/fonts/Axiforma-Light.woff') format('woff'),
        url('..assets/fonts/Axiforma-Light.svg#Axiforma-Light') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Axiforma';
    src: url('..assets/fonts/Axiforma-Bold.woff2') format('woff2'),
        url('..assets/fonts/Axiforma-Bold.woff') format('woff'),
        url('..assets/fonts/Axiforma-Bold.svg#Axiforma-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Axiforma';
    src: url('..assets/fonts/Axiforma-Medium.woff2') format('woff2'),
        url('..assets/fonts/Axiforma-Medium.woff') format('woff'),
        url('..assets/fonts/Axiforma-Medium.svg#Axiforma-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Axiforma';
    src: url('..assets/fonts/Axiforma-SemiBold.woff2') format('woff2'),
        url('..assets/fonts/Axiforma-SemiBold.woff') format('woff'),
        url('..assets/fonts/Axiforma-SemiBold.svg#Axiforma-SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
}

Any help will be appreciated

Posts: 1

Participants: 1

Read full topic


Using IonicStorage and synching it with reactive View (Angular)

$
0
0

@Lagily wrote:

I am making a chat applications and have come to a point where I am not sure how to solve a certain task and was wondering if you guys have a go to solutions and an idea on how to go on about fixing this specific issue with an architecture that makes sense:

I download all current Conversations the user has, these can be group conversations on private 1 on 1 conversations. I save this information in an object of the class ‘Conversation’. Now I would like to only once fully download all currently open conversations from the server and afterwards only receive changes (e.g conversation group name was changed) and adjust that in my clients data. I have a field conversation: Conversation in my Ionic component that handles showing these conversations and I can also save the list of all conversations using IonicStorage.

Now how would you go on about synching the IonicStorage conversations with the ones in the RAM (ionic component field)? For example if the user creates a new conversation, would you update the components conversation array and also at the same time add the new Conversation Object to the IonicStorage list?
Is there some sort of pattern or best practice, anyone has had any experience towards this?

Let me know!

Posts: 1

Participants: 1

Read full topic

Content:url

$
0
0

@dipankar123 wrote:

Hello Guys,
I have started converting my project from ionic 3 to ionic 4
now I just found the below css not working and preventing app load

a[href$=".pdf"]:before {
  content: url("../../assets/ICONS/pdf.png");
}

please help
thanks

Posts: 1

Participants: 1

Read full topic

Cordova image intent

$
0
0

@IonicDevlopAnshul wrote:

I am doing share of image from android gallery to my app but issue is that i get only uri not a image data that’s
why task not completed so please any one help me
i try doracombell plugin , web intent , and naptiloilaln plugin from git hub
i try every thing on that but issue is not solve

ionViewDidLoad(){
var HandleIntent;
document.addEventListener(‘deviceready’,
(window).plugins.intent.setNewIntentHandler(HandleIntent)
(window).plugins.intent.getCordovaIntent(HandleIntent,
function () {
console.log(‘Error getting cordova intent’);
}
));

 HandleIntent=function (Intent) {

                          var image = Intent;

                            alert(image);
                            var result= image.clipItems;
                      
                            alert(JSON.stringify(result));
                     
                            alert("with="+JSON.stringify(result[0].uri));

                           }

}

Posts: 1

Participants: 1

Read full topic

Onclick edit button select all text in the input field

$
0
0

@premktr wrote:

initially, my input field will be in read-only by clicking on the edit button it should make readonly=false and select all text at the same time.

  <ion-item  lines="none">
            <ion-input placeholder="Profile Name" id="input"  [readonly]="isReadOnly" (focusout) ="out_profile()"></ion-input>
            <ion-buttons class="ion-float-right">
              <ion-button  color="light" (click)="enable_name()"   class="edit">
            <!-- <span item-end> -->
              <ion-icon size="small" src="assets/profile/edit.svg" slot="icon-only"></ion-icon>
            <!-- </span> -->
              </ion-button>
            </ion-buttons>
          </ion-item>
        </ion-col>
      </ion-row>
      <ion-row>
        <ion-col>
          <ion-item  lines="none">
            <ion-input placeholder="User ID "  [readonly]="isReadOnly"></ion-input>
            <ion-buttons class="ion-float-right">
              <ion-button color="light" (click)="enable_id()"  (focusout) ="out_id()" class="edit">
            <!-- <span item-end> -->
              <ion-icon size="small" src="assets/profile/edit.svg" slot="icon-only"></ion-icon>
            <!-- </span> -->
              </ion-button>
            </ion-buttons>
          </ion-item>
enable_name(){
  this. isReadOnly = false;
  console.log('works');
  // let a=document.getElementsByClassName('edit');
  // a.focus();
  // a.select();
// tslint:disable-next-line: no-unused-expression
  document.getElementsByClassName('edit').select() as HTMLInputElement;
  
}
enable_id(){
  this. isReadOnly = false;
  // console.log('works');


  
}

Posts: 1

Participants: 1

Read full topic

How can I call calendar in datepicker plugin in ionic 3?

$
0
0

@pdj wrote:

this.datePicker.show({
      date: new Date(),
      mode: 'date',
      androidTheme: this.datePicker.ANDROID_THEMES.THEME_HOLO_DARK
    }).then(
      date => console.log('Got date: ', date),
      err => console.log('Error occurred while getting date: ', err)
    );

above is the one that I use
and the result is as below

is there a any way that I can call calendar for user to pick a date?

Posts: 1

Participants: 1

Read full topic

Ionic v4 - Use Keyboard on pages

$
0
0

@jageronionic wrote:

Hello,

Currently in a project which work with Electron and Ionic, i am trying to use an ionic keyboard to be able to write in a input.

I try to use the ionic Keyboard included in Ionic v4 like that:

app.module.ts

import { Keyboard } from '@ionic-native/keyboard/ngx';
@NgModule({
  [...]
  ],
  providers: [ 
    (...),
    Keyboard
  ],
});

my-page.ts

import { Keyboard  } from '@ionic-native/keyboard/ngx';
import { IonInput } from '@ionic/angular';
@ViewChild('input') InputK: IonInput;

constructor( private keyboard: Keyboard) {
}
public showKeyboard(){
   this.keyboard.setFocus()
}

On the input in my html i just put (click)=‘showKeyboard()’ but i won’t work…

I’ve you got solution for this kind of problem ?

Kind Regards for your time.

Posts: 1

Participants: 1

Read full topic

Canvas coordinates not the same when deployed to device

$
0
0

@JohnCressman wrote:

I’m creating a module that displays a body diagram and the EMS tech can click on different body parts to calculate total burn area on a victim.

I’m grabbing the coordinates on the javasscript canvas based off the (click) function on the canvas and it works fine in the ionic lab.

Once I deploy to android, the coordinates seem to be off to a point where it’s unusable. Is there a way to get consistent coordinates?

Posts: 1

Participants: 1

Read full topic


Firebase Dynamic Link Using Ionic 4

$
0
0

@gowtham78 wrote:

Have Anyone tried App invites using referral link ?

Example : I just Create One link with sponsor … If any one install using that link that user get sponsor name for registration process

Please guide me

Posts: 1

Participants: 1

Read full topic

ionic ,cannot get text of picken file in DocumentPicker [on hold]

$
0
0

@ionian wrote:

i am using a DocumentPicker to pick text files. The goal is to get the text of the picken file and sisplay it on the screen. Here i open the document picker. openDocumentPicker(){

var failure = function(message) { console.log("Error sending the email "); } cordova.exec(this.successCall, failure, “DocumentPicker”, “getFile”, [ JSON.stringify(‘all’) ]); this.docPicker.getFile(‘all’) // DocumentPickerOptions.IMAGE and DocumentPickerOptions.PDF are also available .then(uri => console.log("uri= "+uri)) .catch(e => console.log("err= "+e)); }

successCall(message) { console.log("Succeeded2 "+message); HomePage.currentFileUrl=message;//‘assets/myFile.pdf’; HomePage.filePicked=true; } In the success call back i get the url in the format: e.g file:/// … .rtf Then i am trying to get the text of the file. showTextOfFile(fileUrl:any){//fileUrl=’’ The first problem is that the resolveNativePath is not working: this.filePath.resolveNativePath(fileUrl).then((path)=>{ //not going in here. console.log(path); }); Then i am trying to use readAsText in the file and it does not work as well. let path = fileUrl.substring(0, fileUrl.lastIndexOf(’/’)); let file = fileUrl.substring(fileUrl.lastIndexOf(’/’)+1, fileUrl.length);

this.file.readAsText(path,file).then((data)=>{
  //not going in here
  console.log(data);
}).catch(err=>console.log(err));

and then i am trying this code and it is not working as well.
this.file.readAsBinaryString(path, file)
.then(content=>{
  //not going in here.
  console.log("File-Content: "+ JSON.stringify(content));
})
.catch(err=>{
  console.log(err);
  alert(JSON.stringify(err));
});  

Finally ,i try to use FileReader and it is not working.
var reader = new FileReader();
reader.onload = function(e) {
  //not going in here.
  var text = reader.result;
  console.log("data31 "+text); 
}
reader.readAsText(fileUrl.files[0]);

I was wondering if you could help me ,please? Thank you in advance.

Posts: 1

Participants: 1

Read full topic

Ionic serve fails after upgrade to CLI 5.0.2 - [ng] The system cannot find the path specified

$
0
0

@synpanuser wrote:

I upgraded the ionic CLI to 5.0.2 (from 4.12.something, if I remember correctly) with

npm install -g ionic

after that, ionic serve no longer works:

C:\mobile\myappdir>ionic serve
> ng.bat run app:serve --host=localhost --port=8100
[ng] The system cannot find the path specified.

[ERROR] ng has unexpectedly closed (exit code 1).

        The Ionic CLI will exit. Please check any output above for error details.

I tried running the following, but it didn’t change anything:

npm install -g cordova-res native-run
npm install @ionic/angular-toolkit@latest

Other pertinent info:


C:\mobile\myappdir>ionic info

Ionic:

Ionic CLI : 5.0.2 (C:\Users\alfon1\AppData\Roaming\nvm\v10.15.0\node_modules\ionic)
Ionic Framework : @ionic/angular 4.4.0
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1

Cordova:

Cordova CLI : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.4.1, (and 8 other plugins)

Utility:

cordova-res : 0.3.0
native-run : 0.2.5

System:

Android SDK Tools : 26.0.2 (c:\users\alfon1\appdata\local\android\sdk)
NodeJS : v10.15.0 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10


Everything was running correctly until the CLI upgrade.

Other ionic commands also fail with a similar message (e.g. ionic build).

“Cordova build android” runs without an issue and produces an APK.

“ionic cordova build android” fails:

C:\mobile\davdtexv03>ionic cordova build android
> ng.bat run app:ionic-cordova-build --platform=android
The system cannot find the path specified.
[ERROR] An error occurred while running subprocess ng.

        ng.bat run app:ionic-cordova-build --platform=android exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.

C:\mobile\davdtexv03>

Posts: 1

Participants: 1

Read full topic

Destroy Ionic tab content when switched to another tab

$
0
0

@SharanA wrote:

@ionicframeworks @mhartington @Justinwillis96
Is there a way to destroy the tab page related DOM when we switch between tabs. In Ionic, generally we destroy the page when we move to other. How can we achieve the same here also (In real, tab DOM is getting appended when switched).

gif_image

Posts: 1

Participants: 1

Read full topic

Exit Code 70 (Ineligible Destinations)

$
0
0

@SparkSmitty wrote:

So I have been trying to build this for the past few hours with no luck, and here is the error I am getting:

[cordova]    Ineligible destinations for the "MyApp" scheme:
[cordova] 		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }
[cordova] 		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }
[cordova] xcodebuild: Command failed with exit code 70
[ERROR] An error occurred while running subprocess cordova.

So what exactly does this mean? My simulator is messed up?
I have tried removing and adding ios a few times, I have even re-initialized the project and made sure not to mess with the config.xml in case that would mess things up.
Any ideas?

Posts: 1

Participants: 1

Read full topic

Viewing all 70435 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>