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

Cannot run sass task: missing in gulpfile.js when building ionic version 1 project

$
0
0

@angelomrigo wrote:

Hi,

I am trying to build a version 1 ionic project .

Using ionic build brings me the error message : Cannot run sass task: missing in gulpfile.js

How can i fix it ?

How can i build an android version of the app if i am using ionic-cli version 4 and the ionic project is version 1 ?

Posts: 1

Participants: 1

Read full topic


Build failing to upload ipa on fastlane errors

$
0
0

@mxms wrote:

Hi guys,

I haven’t had an issue in the past with packages being built in Ionic Pro until today. Not sure how quick support will get back to me so I thought I’d post a thread to see if anyone in the community had a fix or knew what was causing this particular issue? Perhaps it’s something on my end, rather than the way deployment is set up on ionic’s side? Let me know if you need more information.

Saving ios@~4.5.5 into config.xml file ...

	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/helper/sh_helper.rb:80:in `sh_control_output'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/helper/sh_helper.rb:16:in `sh_no_action'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/fast_file.rb:187:in `block in sh'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/fast_file.rb:186:in `sh'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/fast_file.rb:181:in `sh'
	from Fastfile:27:in `block (2 levels) in parsing_binding'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/lane_manager.rb:59:in `cruise_lane'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/commands_generator.rb:107:in `block (2 levels) in run'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:75:in `run!'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/commands_generator.rb:332:in `run'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/fastlane/lib/fastlane/cli_tools_distributor.rb:108:in `take_off'
	from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.97.0/bin/fastlane:20:in `'
	from /Users/ionic/.fastlane/bin/bundle/bin/fastlane:22:in `load'
	from /Users/ionic/.fastlane/bin/bundle/bin/fastlane:22:in `
'
\e[91mFailed to upload ipa to storage please retry your build.\e[0m
Running after script...
$ clean-up
Cleaning up files...

Posts: 1

Participants: 1

Read full topic

Media Plugin

$
0
0

@mukash-wasti wrote:

Can some tell me how to play audio mp3 files locally by placing it in assets folder in my app
I am new to ionic.

Posts: 1

Participants: 1

Read full topic

BLE write working in android 8.0, but not in 7 and 6

$
0
0

@gdejong wrote:

I wrote an app that writes to ble characteristics without any problems on Android 8, but on phones with 7 and 6 I can connect but writes do not show up on the target device. I get no errors .

Has anyone here encountered this?

Posts: 1

Participants: 1

Read full topic

Delay in switching tabs to tabs ionic tabs

$
0
0

@rennigan wrote:

So in each of my tabs are containing data from the firebase, in everytime I switch from tabs to tabs the tabs below which indicated what tabs is selected is having delayed response. Anyone knows how to solve this problem?

Posts: 1

Participants: 1

Read full topic

Google map plugin on Android native layer displaced

$
0
0

@ptuchster wrote:

Hi there!
Trying to figure out with android map issue. I have process of creating instance by wrapping steps in ion-slides component inside modal step by step. And one of these steps is selecting location on map. So, when i trying to initialize google map it’s working great, but some reasons native map layer on mobile is showing under all layers of app. So I’ve made couple screen shots from device screen:

And one more where ion-app with opacity: 0

Moreover, I can say that my project working fine, because if i try to set up map on different component, just inside ion-content it works like a charm. Even browser that use JS api - works fine.

So, as I understand this problem: if I try initialize map in ion-slide in modal component, native layer with map are placed behind whole app some reasons. If I try to run same code inside simple page component - it works fine.

Here is map init code, it’s actually pretty simple:

let options: GoogleMapOptions = {
        controls: {
          compass: true,
          myLocation: true,
          myLocationButton: true,
          mapToolbar: true
        },
        camera: {
          target: {
            lat: 56.876059,
            lng: 53.210351
          },
          zoom: 16
        }
      };
      this.map = GoogleMaps.create('g_map', options);

And here is ionic info

Ionic:

ionic (Ionic CLI) : 4.1.2
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0

Cordova:

cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0, browser 5.0.4, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.3, (and 13 other plugins)

System:

NodeJS : v10.8.0 (/usr/local/Cellar/node/10.8.0/bin/node)
npm : 2.15.12
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000

Trying to run this on wileyfox swift 2 with android 7.1.2

P.S. Just have checked ios: there is the same issue, map initialized but layer placed under whole app.

Posts: 1

Participants: 1

Read full topic

Streaming Media Plugin playing no audio when silent switch off

$
0
0

@ChristianStr wrote:

Hey,

I am using the Streaming Media Plugin to stream videos from a server.

I got the problem that the audio is not playing when the little silent switch on the left top side of the iPhone is off. But I want the audio to continue playing. Is there any solution to this?

Thanks in advance!

let options: StreamingVideoOptions = {
      successCallback: () => { ... },
      orientation: 'landscape'
};
this.streamingMedia.playVideo(video_path, options);

Posts: 1

Participants: 1

Read full topic

On first install/update of app, stuck on splash screen. If app reopened, works perfectly fine (xcode debug help)

$
0
0

@codiqa100096189 wrote:

First off, please see the plunker for related files, the Xcode debugging output below, and if someone can help me out i’ll PayPal them a bunch of coffee’s worth of cash. I need help identifying what’s causing the app to hang first time around, and also any unnecessary things loading.

https://embed.plnkr.co/obNd8AbAjJHjGfSWlolr/

My app doesn’t like to get past the splash screen on it’s first open/run after it has been installed for the first time or updated. The Xcode debug window is below. The start to finish is all that shows after first opening the app. The last line is where it just stops and leaves the splash screen spinning forever. If you close the app (double click home button and swipe up) and reopen, the splash is up for about 3 seconds and it enters the app.

I have console messages for pretty much everything (splash clear, login page loaded, home page loaded, etc etc). I took this project over and am not sure which plugins/dependencies are needed.

Xcode Debugging on 1st app run/install when it stops on the splash screen:

> 2018-09-21 13:24:09.222191-0400 Private Direct[359:13194] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/15585FE2-D2B5-4CA5-91B8-D4A4D0A78F3B/Library/Cookies/Cookies.binarycookies
> 2018-09-21 13:24:09.432657-0400 Private Direct[359:13194] Apache Cordova native platform version 4.5.5 is starting.
> 2018-09-21 13:24:09.432901-0400 Private Direct[359:13194] Multi-tasking -> Device: YES, App: YES
> 2018-09-21 13:24:09.474032-0400 Private Direct[359:13194] CDVWKWebViewEngine: trying to inject XHR polyfill
> 2018-09-21 13:24:09.999800-0400 Private Direct[359:13194] CDVWKWebViewEngine will reload WKWebView if required on resume
> 2018-09-21 13:24:09.999995-0400 Private Direct[359:13194] Using Ionic WKWebView
> 2018-09-21 13:24:10.001922-0400 Private Direct[359:13194] [CDVTimer][console] 0.227928ms
> 2018-09-21 13:24:10.002284-0400 Private Direct[359:13194] [CDVTimer][handleopenurl] 0.185013ms
> 2018-09-21 13:24:10.006704-0400 Private Direct[359:13194] Unlimited access to network resources
> 2018-09-21 13:24:10.006907-0400 Private Direct[359:13194] [CDVTimer][intentandnavigationfilter] 4.558921ms
> 2018-09-21 13:24:10.007121-0400 Private Direct[359:13194] [CDVTimer][gesturehandler] 0.154018ms
> 2018-09-21 13:24:10.016289-0400 Private Direct[359:13194] [CDVTimer][file] 9.040952ms
> 2018-09-21 13:24:10.016618-0400 Private Direct[359:13194] Starting Firebase plugin
> 2018-09-21 13:24:10.016659-0400 Private Direct[359:13194] [CDVTimer][firebaseplugin] 0.250936ms
> 2018-09-21 13:24:10.042728-0400 Private Direct[359:13194] [CDVTimer][splashscreen] 25.997996ms
> 2018-09-21 13:24:10.044790-0400 Private Direct[359:13194] [CDVTimer][ioniccordovacommon] 1.870990ms
> 2018-09-21 13:24:10.045196-0400 Private Direct[359:13194] CDVIonicKeyboard: resize mode 1
> 2018-09-21 13:24:10.047884-0400 Private Direct[359:13194] [CDVTimer][keyboard] 2.723098ms
> 2018-09-21 13:24:10.073600-0400 Private Direct[359:13194] [CDVTimer][statusbar] 25.490999ms
> 2018-09-21 13:24:10.074458-0400 Private Direct[359:13194] [CDVTimer][socialsharing] 0.661969ms
> 2018-09-21 13:24:10.074595-0400 Private Direct[359:13194] [CDVTimer][TotalPluginStartup] 73.098063ms
> 2018-09-21 13:24:10.085947-0400 Private Direct[359:13313] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
> 2018-09-21 13:24:10.089023-0400 Private Direct[359:13313] [MC] Filtering mail sheet accounts for bundle ID: com.pdonboard.privatedirect, source account management: 1
> 2018-09-21 13:24:10.105943-0400 Private Direct[359:13312] 4.13.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
> 2018-09-21 13:24:10.206579-0400 Private Direct[359:13194] Could not successfully update network info during initialization.
> 2018-09-21 13:24:10.310269-0400 Private Direct[359:13311] 4.13.0 - [Firebase/Crash][I-CRA000004] Successfully initialized
> 2018-09-21 13:24:10.410343-0400 Private Direct[359:13311] 4.13.0 - [Firebase/Analytics][I-ACS023007] Firebase Analytics v.40200000 started
> 2018-09-21 13:24:10.411029-0400 Private Direct[359:13311] 4.13.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
> 2018-09-21 13:24:10.690123-0400 Private Direct[359:13304] Could not successfully update network info during initialization.
> 2018-09-21 13:24:10.841368-0400 Private Direct[359:13304] 4.13.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
> https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
> to ensure proper integration.
> 2018-09-21 13:24:11.048628-0400 Private Direct[359:13327] 4.13.0 - [Firebase/Messaging][I-FCM002023] The object <AppDelegate: 0x100da9530> does not respond to -messaging:didReceiveRegistrationToken:, nor -messaging:didRefreshRegistrationToken:. Please implement -messaging:didReceiveRegistrationToken: to be provided with an FCM token.
> 2018-09-21 13:24:11.322193-0400 Private Direct[359:13312] TIC Read Status [1:0x0]: 1:57
> 2018-09-21 13:24:11.323855-0400 Private Direct[359:13312] TIC Read Status [1:0x0]: 1:57
> 2018-09-21 13:24:11.442337-0400 Private Direct[359:13194] Connected to FCM.
> 2018-09-21 13:24:11.447650-0400 Private Direct[359:13194] InstanceID token: (null)
> 2018-09-21 13:24:14.408910-0400 Private Direct[359:13194] THREAD WARNING: ['Device'] took '10.315918' ms. Plugin should use a background thread.
> 2018-09-21 13:24:14.455850-0400 Private Direct[359:13194] Ionic Native: deviceready event fired after 1318 ms
> 2018-09-21 13:24:14.458007-0400 Private Direct[359:13194] Got Native app preferences: {
>     appId = ee062ef3;
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
> }
> 2018-09-21 13:24:14.458241-0400 Private Direct[359:13194] No custom config found
> 2018-09-21 13:24:14.458279-0400 Private Direct[359:13194] initing updates key
> 2018-09-21 13:24:14.458530-0400 Private Direct[359:13194] Initialized App Prefs: {
>     appId = ee062ef3;
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
>     updates =     {
>     };
> }
> 2018-09-21 13:24:14.470428-0400 Private Direct[359:13194] Got app info: {
>     binaryVersionCode = "1.0.0";
>     binaryVersionName = "1.2.14";
>     bundleName = "com.pdonboard.privatedirect";
>     bundleVersion = "1.2.14";
>     device = "BBB7CD1F-5646-422D-BEFF-EF412732A321";
>     platform = ios;
>     platformVersion = "11.4.1";
>     version = "1.0.0";
> }
> 2018-09-21 13:24:14.516068-0400 Private Direct[359:13194] Cleared splash flag.
> 2018-09-21 13:24:15.207404-0400 Private Direct[359:13330] TIC Read Status [4:0x0]: 1:57
> 2018-09-21 13:24:15.207501-0400 Private Direct[359:13330] TIC Read Status [4:0x0]: 1:57
> 2018-09-21 13:24:15.315753-0400 Private Direct[359:13194] InstanceID token: duJImKcy-Lw:APA91bGfkznfYnw77rumxPNznG8TGeRp_bEf8t5G6oAPMP2WfEGmFH_fn21kpL099qx-LasN2eEbeAtowf2nBsPksfCWzCD2dAtz3Ukhj6_6R_Y3FLDEAqYz4MqOUXrFHpTr0JANhLFh
> 2018-09-21 13:24:15.345806-0400 Private Direct[359:13194] Got prefs to save: {
>     appId = ee062ef3;
>     availableUpdate =     {
>         binaryVersionCode = "1.0.0";
>         binaryVersionName = "1.2.14";
>         channel = master;
>         lastUsed = "2018-09-21T17:24:15.339Z";
>         state = available;
>         url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>         versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>     };
>     binaryVersion = "1.2.14";
>     binaryVersionCode = "1.0.0";
>     binaryVersionName = "1.2.14";
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
>     updates =     {
>     };
> }
> 2018-09-21 13:24:15.352281-0400 Private Direct[359:13194] Got Native app preferences: {
>     appId = ee062ef3;
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
> }
> 2018-09-21 13:24:15.352411-0400 Private Direct[359:13194] No custom config found
> 2018-09-21 13:24:15.352928-0400 Private Direct[359:13194] found some saved prefs doing precedence ops: {
>     appId = ee062ef3;
>     availableUpdate =     {
>         binaryVersionCode = "1.0.0";
>         binaryVersionName = "1.2.14";
>         channel = master;
>         lastUsed = "2018-09-21T17:24:15.339Z";
>         state = available;
>         url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>         versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>     };
>     binaryVersion = "1.2.14";
>     binaryVersionCode = "1.0.0";
>     binaryVersionName = "1.2.14";
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
>     updates =     {
>     };
> }
> 2018-09-21 13:24:15.353309-0400 Private Direct[359:13194] Returning saved prefs: {
>     appId = ee062ef3;
>     availableUpdate =     {
>         binaryVersionCode = "1.0.0";
>         binaryVersionName = "1.2.14";
>         channel = master;
>         lastUsed = "2018-09-21T17:24:15.339Z";
>         state = available;
>         url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>         versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>     };
>     binaryVersion = "1.2.14";
>     binaryVersionCode = "1.0.0";
>     binaryVersionName = "1.2.14";
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
>     updates =     {
>     };
> }
> 2018-09-21 13:24:15.425382-0400 Private Direct[359:13194] Connected to FCM.
> 2018-09-21 13:24:15.432900-0400 Private Direct[359:13194] InstanceID token: duJImKcy-Lw:APA91bGfkznfYnw77rumxPNznG8TGeRp_bEf8t5G6oAPMP2WfEGmFH_fn21kpL099qx-LasN2eEbeAtowf2nBsPksfCWzCD2dAtz3Ukhj6_6R_Y3FLDEAqYz4MqOUXrFHpTr0JANhLFh
> 2018-09-21 13:24:15.691665-0400 Private Direct[359:13194] Starting IonicTimer CleanSnapshotDir
> 2018-09-21 13:24:15.714105-0400 Private Direct[359:13194] No directory found for snapshot no need to delete
> 2018-09-21 13:24:15.715036-0400 Private Direct[359:13194] Finished IonicTimer CleanSnapshotDir in 0.032 seconds.
> 2018-09-21 13:24:15.717881-0400 Private Direct[359:13194] Cleaned version directory
> 2018-09-21 13:24:15.718147-0400 Private Direct[359:13194] Starting IonicTimer CopyBaseApp
> 2018-09-21 13:24:15.959723-0400 Private Direct[359:13311] [MC] Reading from public effective user settings.
> 2018-09-21 13:24:17.031680-0400 Private Direct[359:13194] Finished IonicTimer CopyBaseApp in 1.3 seconds.
> 2018-09-21 13:24:17.032066-0400 Private Direct[359:13194] Copied base app resources
> 2018-09-21 13:24:17.032357-0400 Private Direct[359:13194] Downloading update...
> 2018-09-21 13:24:17.032846-0400 Private Direct[359:13194] Starting IonicTimer downloadTimer
> 2018-09-21 13:24:17.033081-0400 Private Direct[359:13194] About to download 6 new files for update.
> 2018-09-21 13:24:17.041296-0400 Private Direct[359:13194] -[CDVFileTransfer download:] [Line 423] File Transfer downloading file...
> 2018-09-21 13:24:17.046238-0400 Private Direct[359:13194] -[CDVFileTransfer download:] [Line 423] File Transfer downloading file...
> 2018-09-21 13:24:17.049423-0400 Private Direct[359:13194] -[CDVFileTransfer download:] [Line 423] File Transfer downloading file...
> 2018-09-21 13:24:17.063354-0400 Private Direct[359:13194] -[CDVFileTransfer download:] [Line 423] File Transfer downloading file...
> 2018-09-21 13:24:17.066505-0400 Private Direct[359:13194] -[CDVFileTransfer download:] [Line 423] File Transfer downloading file...
> 2018-09-21 13:24:17.069308-0400 Private Direct[359:13194] -[CDVFileTransfer download:] [Line 423] File Transfer downloading file...
> 2018-09-21 13:24:17.229932-0400 Private Direct[359:13328] -[CDVFileTransferDelegate connection:didReceiveResponse:] [Line 771] Streaming to file /var/mobile/Containers/Data/Application/15585FE2-D2B5-4CA5-91B8-D4A4D0A78F3B/Library/NoCloud/ionic_built_snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/build/main.css.map
> 2018-09-21 13:24:17.238265-0400 Private Direct[359:13305] File Transfer Finished with response code 200
> 2018-09-21 13:24:17.240018-0400 Private Direct[359:13305] -[CDVFileTransferDelegate connectionDidFinishLoading:] [Line 637] File Transfer Download success
> 2018-09-21 13:24:17.373411-0400 Private Direct[359:13330] -[CDVFileTransferDelegate connection:didReceiveResponse:] [Line 771] Streaming to file /var/mobile/Containers/Data/Application/15585FE2-D2B5-4CA5-91B8-D4A4D0A78F3B/Library/NoCloud/ionic_built_snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/build/vendor.js.map
> 2018-09-21 13:24:17.381294-0400 Private Direct[359:13327] -[CDVFileTransferEntityLengthRequest initWithOriginalRequest:andDelegate:] [Line 574] Requesting entity length for GZIPped content...
> 2018-09-21 13:24:17.382680-0400 Private Direct[359:13328] -[CDVFileTransferEntityLengthRequest initWithOriginalRequest:andDelegate:] [Line 574] Requesting entity length for GZIPped content...
> 2018-09-21 13:24:17.396649-0400 Private Direct[359:13327] -[CDVFileTransferDelegate connection:didReceiveResponse:] [Line 771] Streaming to file /var/mobile/Containers/Data/Application/15585FE2-D2B5-4CA5-91B8-D4A4D0A78F3B/Library/NoCloud/ionic_built_snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/build/main.css
> 2018-09-21 13:24:17.404740-0400 Private Direct[359:13328] -[CDVFileTransferDelegate connection:didReceiveResponse:] [Line 771] Streaming to file /var/mobile/Containers/Data/Application/15585FE2-D2B5-4CA5-91B8-D4A4D0A78F3B/Library/NoCloud/ionic_built_snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/build/main.js
> 2018-09-21 13:24:17.406277-0400 Private Direct[359:13328] -[CDVFileTransferEntityLengthRequest initWithOriginalRequest:andDelegate:] [Line 574] Requesting entity length for GZIPped content...
> 2018-09-21 13:24:17.416023-0400 Private Direct[359:13330] -[CDVFileTransferDelegate connection:didReceiveResponse:] [Line 771] Streaming to file /var/mobile/Containers/Data/Application/15585FE2-D2B5-4CA5-91B8-D4A4D0A78F3B/Library/NoCloud/ionic_built_snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/build/vendor.js
> 2018-09-21 13:24:17.427005-0400 Private Direct[359:13312] File Transfer Finished with response code 200
> 2018-09-21 13:24:17.427390-0400 Private Direct[359:13328] -[CDVFileTransferDelegate connection:didReceiveResponse:] [Line 771] Streaming to file /var/mobile/Containers/Data/Application/15585FE2-D2B5-4CA5-91B8-D4A4D0A78F3B/Library/NoCloud/ionic_built_snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/build/main.js.map
> 2018-09-21 13:24:17.427932-0400 Private Direct[359:13312] -[CDVFileTransferDelegate connectionDidFinishLoading:] [Line 637] File Transfer Download success
> 2018-09-21 13:24:17.449351-0400 Private Direct[359:13353] File Transfer Finished with response code 200
> 2018-09-21 13:24:17.450221-0400 Private Direct[359:13353] -[CDVFileTransferDelegate connectionDidFinishLoading:] [Line 637] File Transfer Download success
> 2018-09-21 13:24:17.571490-0400 Private Direct[359:13330] File Transfer Finished with response code 200
> 2018-09-21 13:24:17.595788-0400 Private Direct[359:13330] -[CDVFileTransferDelegate connectionDidFinishLoading:] [Line 637] File Transfer Download success
> 2018-09-21 13:24:24.462577-0400 Private Direct[359:13327] TIC Read Status [13:0x0]: 1:57
> 2018-09-21 13:24:24.462663-0400 Private Direct[359:13327] TIC Read Status [13:0x0]: 1:57
> 2018-09-21 13:24:24.566783-0400 Private Direct[359:13313] File Transfer Finished with response code 200
> 2018-09-21 13:24:24.603719-0400 Private Direct[359:13313] -[CDVFileTransferDelegate connectionDidFinishLoading:] [Line 637] File Transfer Download success
> 2018-09-21 13:24:24.765624-0400 Private Direct[359:13313] TIC Read Status [14:0x0]: 1:57
> 2018-09-21 13:24:24.765730-0400 Private Direct[359:13313] TIC Read Status [14:0x0]: 1:57
> 2018-09-21 13:24:25.375353-0400 Private Direct[359:13353] File Transfer Finished with response code 200
> 2018-09-21 13:24:25.421915-0400 Private Direct[359:13353] -[CDVFileTransferDelegate connectionDidFinishLoading:] [Line 637] File Transfer Download success
> 2018-09-21 13:24:25.432969-0400 Private Direct[359:13194] Message: downloaded batch 0 of 6 downloads Done downloading all 6 files Diff IonicTimer downloadTimer in 8.401 seconds.
> 2018-09-21 13:24:25.434606-0400 Private Direct[359:13194] Finished IonicTimer downloadTimer in 8.402 seconds.
> 2018-09-21 13:24:25.435315-0400 Private Direct[359:13194] IonicTimer extra Downloaded 6 files
> 2018-09-21 13:24:25.437220-0400 Private Direct[359:13194] Got prefs to save: {
>     appId = ee062ef3;
>     availableUpdate =     {
>         binaryVersionCode = "1.0.0";
>         binaryVersionName = "1.2.14";
>         channel = master;
>         lastUsed = "2018-09-21T17:24:15.339Z";
>         state = pending;
>         url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>         versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>     };
>     binaryVersion = "1.2.14";
>     binaryVersionCode = "1.0.0";
>     binaryVersionName = "1.2.14";
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
>     updates =     {
>     };
> }
> 2018-09-21 13:24:25.445480-0400 Private Direct[359:13194] Got Native app preferences: {
>     appId = ee062ef3;
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
> }
> 2018-09-21 13:24:25.445618-0400 Private Direct[359:13194] No custom config found
> 2018-09-21 13:24:25.446057-0400 Private Direct[359:13194] found some saved prefs doing precedence ops: {
>     appId = ee062ef3;
>     availableUpdate =     {
>         binaryVersionCode = "1.0.0";
>         binaryVersionName = "1.2.14";
>         channel = master;
>         lastUsed = "2018-09-21T17:24:15.339Z";
>         state = pending;
>         url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>         versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>     };
>     binaryVersion = "1.2.14";
>     binaryVersionCode = "1.0.0";
>     binaryVersionName = "1.2.14";
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
>     updates =     {
>     };
> }
> 2018-09-21 13:24:25.446628-0400 Private Direct[359:13194] Returning saved prefs: {
>     appId = ee062ef3;
>     availableUpdate =     {
>         binaryVersionCode = "1.0.0";
>         binaryVersionName = "1.2.14";
>         channel = master;
>         lastUsed = "2018-09-21T17:24:15.339Z";
>         state = pending;
>         url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>         versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>     };
>     binaryVersion = "1.2.14";
>     binaryVersionCode = "1.0.0";
>     binaryVersionName = "1.2.14";
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
>     updates =     {
>     };
> }
> 2018-09-21 13:24:25.447004-0400 Private Direct[359:13194] THREAD WARNING: ['IonicCordovaCommon'] took '10.304932' ms. Plugin should use a background thread.
> 2018-09-21 13:24:25.455892-0400 Private Direct[359:13194] Got prefs to save: {
>     appId = ee062ef3;
>     availableUpdate =     {
>         binaryVersionCode = "1.0.0";
>         binaryVersionName = "1.2.14";
>         channel = master;
>         lastUsed = "2018-09-21T17:24:15.339Z";
>         state = ready;
>         url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>         versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>     };
>     binaryVersion = "1.2.14";
>     binaryVersionCode = "1.0.0";
>     binaryVersionName = "1.2.14";
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
>     updates =     {
>         "c95a5556-4ad9-4dbb-9575-dde9b0290bba" =         {
>             binaryVersionCode = "1.0.0";
>             binaryVersionName = "1.2.14";
>             channel = master;
>             lastUsed = "2018-09-21T17:24:15.339Z";
>             state = ready;
>             url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>             versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>         };
>     };
> }
> 2018-09-21 13:24:25.463170-0400 Private Direct[359:13194] Got Native app preferences: {
>     appId = ee062ef3;
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
> }
> 2018-09-21 13:24:25.463303-0400 Private Direct[359:13194] No custom config found
> 2018-09-21 13:24:25.463773-0400 Private Direct[359:13194] found some saved prefs doing precedence ops: {
>     appId = ee062ef3;
>     availableUpdate =     {
>         binaryVersionCode = "1.0.0";
>         binaryVersionName = "1.2.14";
>         channel = master;
>         lastUsed = "2018-09-21T17:24:15.339Z";
>         state = ready;
>         url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>         versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>     };
>     binaryVersion = "1.2.14";
>     binaryVersionCode = "1.0.0";
>     binaryVersionName = "1.2.14";
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
>     updates =     {
>         "c95a5556-4ad9-4dbb-9575-dde9b0290bba" =         {
>             binaryVersionCode = "1.0.0";
>             binaryVersionName = "1.2.14";
>             channel = master;
>             lastUsed = "2018-09-21T17:24:15.339Z";
>             state = ready;
>             url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>             versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>         };
>     };
> }
> 2018-09-21 13:24:25.465761-0400 Private Direct[359:13194] Returning saved prefs: {
>     appId = ee062ef3;
>     availableUpdate =     {
>         binaryVersionCode = "1.0.0";
>         binaryVersionName = "1.2.14";
>         channel = master;
>         lastUsed = "2018-09-21T17:24:15.339Z";
>         state = ready;
>         url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>         versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>     };
>     binaryVersion = "1.2.14";
>     binaryVersionCode = "1.0.0";
>     binaryVersionName = "1.2.14";
>     channel = master;
>     debug = true;
>     host = "https://api.ionicjs.com";
>     maxVersions = 2;
>     minBackgroundDuration = 30;
>     updateMethod = background;
>     updates =     {
>         "c95a5556-4ad9-4dbb-9575-dde9b0290bba" =         {
>             binaryVersionCode = "1.0.0";
>             binaryVersionName = "1.2.14";
>             channel = master;
>             lastUsed = "2018-09-21T17:24:15.339Z";
>             state = ready;
>             url = "https://api.ionicjs.com/apps/ee062ef3/snapshots/c95a5556-4ad9-4dbb-9575-dde9b0290bba/manifest";
>             versionId = "c95a5556-4ad9-4dbb-9575-dde9b0290bba";
>         };
>     };
> }
> 2018-09-21 13:24:25.466790-0400 Private Direct[359:13194] THREAD WARNING: ['IonicCordovaCommon'] took '11.639160' ms. Plugin should use a background thread.

Posts: 2

Participants: 1

Read full topic


Problems disabling ionic 4 side menu on initialization

$
0
0

@amatelic wrote:

Hello,

I am trying to disable the side-menu in ionic 4 at the start of the appliaction execution. But it seems like the menu button is not available at that time. I tried to disable the button in the constructor method and in the ngAfterViewInit method but nothing is working. The only way I can disable the menu button is with a setTimeout of 1000ms or more. Bellow is the code that i am using.

Best regards Anže

const timer = (time: number) => {
  return new Promise((resolve: any, reject: any) => {
    setTimeout(_ => resolve(), time);
  });
};


AppComponent implements AfterViewInit {
  constructor(private menu: MenuController) {
  }

  async ngAfterViewInit() {
    try {
      await timer(1000); // fix for menu to work
      const menus = await this.menu.getMenus();
      await this.menu.enable(false);
      console.log(menus);
    } catch (err) {
      console.log(err);
    }
  }
}


   ionic (Ionic CLI)          : 4.1.2 (/usr/local/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.8
   @angular-devkit/core       : 0.7.5
   @angular-devkit/schematics : 0.7.5
   @angular/cli               : 6.1.5
   @ionic/ng-toolkit          : 1.0.8
   @ionic/schematics-angular  : 1.0.6

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : none
   Cordova Plugins       : no whitelisted plugins (1 plugins total)

System:

   Android SDK Tools : 26.1.1 (/Users/amatelic/Library/Android/sdk)
   NodeJS            : v10.9.0 (/usr/local/Cellar/node/10.9.0/bin/node)
   npm               : 6.2.0
   OS                : macOS High Sierra
   Xcode             : Xcode 9.4.1 Build version 9F2000

Posts: 1

Participants: 1

Read full topic

Navbar gets white while transitioning

$
0
0

@ChristianStr wrote:

Hey,

When trying to get to a new page the navbar is turning white while the transition is happening.
I already saw a solution in which they disabled the transition effect. But that is not what I was looking for.

Thanks in advance!

com-video-to-gif

FirstPage.html:

<ion-header>
  <ion-navbar>
    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title [hidden]="exam_mode">Prüfungssimulation - {{navbar_title}}</ion-title>
    <ion-title [hidden]="!exam_mode">{{navbar_title}}</ion-title>
    <ion-buttons end>
      <button ion-button icon-only small class="helpbtn" (click)="help()">
        <ion-icon name="md-help"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

FirstPage.ts:

this.navCtrl.push(SecondPage)

SecondPage.html:

<ion-header>
  <ion-navbar>
    <ion-title >Falsche Antworten</ion-title>
  </ion-navbar>
</ion-header>

SecondPage.ts:

this.navCtrl.pop()

Posts: 1

Participants: 1

Read full topic

Live Deploy first download from the app store

$
0
0

@SimonKomlos wrote:

I have a question about Ionic’s Live Deploy.

If I submit an app to the app store, let’s say the config.xml version is 0.4.3, and a few days later we create a new version of the app, but it’s just basic changes to the CSS/JS, so the new version is now 0.4.4 using Live Deploy. When a user goes to download the app for the first time, do they download version 0.4.3 from the app store or is version 0.4.4 already applied to the app before the download?

My update method is background: <variable name="UPDATE_METHOD" value="background" />

I guess my question is does the live deploy go onto the app store immediately? or does it only happen after they download the app, and then close and reopen it?

Because that would be an issue, that would mean for new users we’d still have to go through the app store if we wanted them to see the latest changes.

Posts: 1

Participants: 1

Read full topic

Send data in mail

$
0
0

@Ludolefrenchy wrote:

Hello everyone.
on my app I have a page where the user will enter data that will be send on the summary pages.
is it possible to send this data by mail with mail-composer but without it goes through the native email of the smartphone.
in more clear I would like it to be sent as soon as the user click on the button validated.

thank you in advance.

ludo

Posts: 1

Participants: 1

Read full topic

Reposnisive Layout Without Scrollbar

$
0
0

@rlandfair wrote:

Is it possible to have the responsive layout without a scrollbar? It just needs to fit on the available screen area. We would like to use a grid type of layout and have it fill the screen when it is resized in a browser. When it gets really small, a scroll bar should not be enabled.

Posts: 1

Participants: 1

Read full topic

Grid Style Menu Advice

Use sqlite inside app.component.ts

$
0
0

@hossein22 wrote:

Hi i have a problem about using sqlite inside app.component.ts i want select language from db and change language before open home page or open some page for once.
I use this code inside app.component.ts but it doesn’t work inside app.component.ts.

    this.langname="";
    this.sqlite.create({
      name: 'madardaroo.db',
      location: 'default'
    })
      .then((db: SQLiteObject) => {
        db.executeSql('SELECT * FROM languages WHERE selected=1 LIMIT 1', [])
          .then((data) => {
            this.langname=data[1]["langname"];
          })
          .catch(e => {
            this.langname="en";
          });
        })
      .catch(e => {
      });

How can i use sqlite inside app.component.ts ?

Posts: 1

Participants: 1

Read full topic


Angularfire2 collection snapshotChanges.Detect when no data is returned

$
0
0

@dcortesbalboa wrote:

Hi

I have a ionic page where I initialize an angularfire2 collection with a filter, then I subscribe to snapshotChanges. What I want is to know if my collection initialization ¡, with a filter, does not return anynithing, to show a message and allow new search, filter, on the same collection.

How can I achieve this?

Posts: 2

Participants: 2

Read full topic

Confused on HealthKit data types

$
0
0

@sjmellor39 wrote:

Having a tough time here figuring out HealthKit data types. I’m building a fitness app and wanted to tap into traditional strength training. Found a guide that had DistanceCycling in there. Tried following the guides over on devdactic and when I swapped it out, it crashed.

saveWorkout() {
    let woDuration = this.item.time * 60;
    console.log(woDuration);
    let workout = {
        'activityType': 'HKWorkoutActivityTypeTraditionalStrengthTraining',
        'quantityType': 'HKQuantityTypeIdentifierActiveEnergyBurned',
        'startDate': new Date(), // now
        'endDate': null, // not needed when using duration
        'duration': woDuration, //in seconds
        'energy': this.hkCals, //
        'energyUnit': 'kcal', // J|cal|kcal
        // 'distance': 5, // optional
        // 'distanceUnit': 'km'
    }
    this.healthKit.saveWorkout(workout).then(res => {
      this.loadHealthData();
    })
  }

Here’s the error from xcode:

Terminating app due to uncaught exception ‘_HKObjectValidationFailureException’, reason: 'HKQuantitySample (2018-09-21 21:45:14 -0400 - 2018-09-21 22:45:14 -0400) requires unit of type Energy. Incompatible unit: (null)'

anyone have any experience with implementing HealthKit?

Posts: 1

Participants: 1

Read full topic

What went wrong: Execution failed for task ':app:packageRelease'

$
0
0

@aabdolla wrote:

Hello everyone,

I am trying to build my android release at the moment with this command:

ionic cordova build android --release --prod

I am getting this error:

* What went wrong: Execution failed for task ':app:packageRelease'.
> value (66186) > 0x0000ffff

Everything was working just fine last week. I am not quite sure what has changed that is making it so this no longer builds.

The build hangs for four minutes on:

UP-TO-DATE

:app:packageRelease

And then it fails:

FAILED

45 actionable tasks: 1 executed, 44 up-to-date

Anyone run into this before?

I am at a loss on what to do.

Thanks!

Posts: 1

Participants: 1

Read full topic

Calling web service from ionic project

$
0
0

@jithesh wrote:

Hi guys i’m creating project of read sms from mobile and send the data to server.
My problem is how can i mention my server ip address(url) in ionic project. Currently i’m running server running locally. Please suggest me. Thanks in advance.

Posts: 2

Participants: 2

Read full topic

Allow ionic to bypass android settings of DND and volume control

$
0
0

@kevred wrote:

Hi,
I have a security app that alerts me if any security breach have been found.

Unfortunately the app will not be able to have any audible alerts to be sent while the phone is in DND.

And also if the notification sound is kept at a level, say 50%, the app’s alerts just like any other app will be audible at that volume level as well.

But since this is a security app, irrespective of the mode the phone’s sound settings is in, i want to alert the user about the security issue in full volume.

Can i do that in ionic?

Posts: 1

Participants: 1

Read full topic

Viewing all 71018 articles
Browse latest View live


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