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

App not building. Please Help

$
0
0

@UNIBEES_App wrote:

What went wrong:
Could not determine the dependencies of task ‘:compileDebugJavaWithJavac’.

Could not resolve all task dependencies for configuration ‘:debugCompileClasspath’.
Could not resolve project :CordovaLib.
Required by:
project :
Project : declares a dependency from configuration ‘debugCompile’ to configuration ‘debug’ which is not declared in the descriptor for project :CordovaLib.

Posts: 1

Participants: 1

Read full topic


Ionic cordova build ios - build failed

$
0
0

@syamhaiq wrote:

i’m having issue with build ios. the error is:

ld: 43 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

ionic info :
ionic (Ionic CLI) : 4.3.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.2

Cordova:

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

System:

ios-deploy : 1.9.4
NodeJS : v10.13.0 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61

any solutions? thanks

Posts: 1

Participants: 1

Read full topic

How to change side menu background color in ionic 4?

$
0
0

@demokumar wrote:

I use ionic 4 and want to change the background color of side menu I change the background color of the list inside the menu and also change background color of item also but it shows a white background strip of item

Posts: 1

Participants: 1

Read full topic

Ionic apk corrupted or broken

Is there any way to show Push Notification in android mobile on Ionic 4 app?

$
0
0

@abhijitmabhi wrote:

I am building in Ionic 4 app with Angular. I need push notification from API just like Facebook push notification.

Posts: 1

Participants: 1

Read full topic

Iframes in npm package

$
0
0

@Kyrax80 wrote:

Hello guys, I am making a module and then packaging it with npm so I can easily add it to any App or web I want. The problem is that I am adding an iframe for when a video is sent in the chat but it’s not showing, the iframe is there, but shows nothing.

The thing is that if I copy-paste the code of the package into my Ionic App directly it does work perfectly with the DOM SANITIZER (I am doing this also in the package, using the sanitizer).

This only happens on devices. If I use ionic serve, it works perfectly.

Why is this? Because of security reasons I can’t show an iframe’s content from a package?

Thanks.

Posts: 1

Participants: 1

Read full topic

Ionic 4 icons weird behaviour

$
0
0

@jylikorpi wrote:

There is some weird staff going on with icons in Ionic 4. I have all the latest versions on everything and a new blank project with sidemenu. When I change sidemenu close button icon to name=“close”, nothing shows up. And when I change it to something else eg. close-circle-outline, icon will show up. There are some other icons too that do not show up (like in tabs, not just menu). I also googled the issue and tried some suggestions, like emptying browser cache, but still could not make it work. Maybe someone else has the same issue and would like to share there thoughts on this.

Posts: 4

Participants: 2

Read full topic

I need help with ngRx and Firebase!

$
0
0

@juanma97 wrote:

Hello, I have an Ionic application that use firebase authentication, when the user sign up in the app, it is created an entry in firebase database with user data(name, lastname, phone, etc). I want get this data and save in the store with ngRx to use in few views on the app, and update when the user update the data.

I know the redux pattern: Actions -> Reducers -> State … but I don’t know how implemented this in my app. I saw some tutorials on Internet, but they do not help me much.

Someone know any tutorial or code that could help me.

Thank you!

Posts: 1

Participants: 1

Read full topic


Costomising Toast in ionic native toast (ionic 3)

$
0
0

@ramashish wrote:

I’ve been using import ionic-native/toast

{ Toast } from ‘@ionic-native/toast’;

want to show a toast with different background than the diffault
and using

this.toast.showWithOptions({
        message: "Please provide an E-mail address",
        duration: 2000, // 2000 ms
        position: "top",
        styling: {
          opacity: 0.75, // 0.0 (transparent) to 1.0 (opaque). Default 0.8
          backgroundColor: '#FF0000', // make sure you use #RRGGBB. Default #333333
          textColor: '#FFFF00', // Ditto. Default #FFFFFF
          // textSize: 20.5, // Default is approx. 13.
          cornerRadius: 16, // minimum is 0 (square). iOS default 20, Android default 100
          horizontalPadding: 20, // iOS default 16, Android default 50
          verticalPadding: 16 // iOS default 12, Android default 30
        }
      });

but got nothing as a toast

Posts: 1

Participants: 1

Read full topic

Modular Ionic App

$
0
0

@hugohrlt wrote:

Hi,

So i’m working on my first Ionic project and I was wondering if there is any possibilities to make a modular app.
What I mean by that is, an app where you can add and remove functionalities that you developed the same way you add and remove plugins for example.
This is my first time working in the mobile world so I apologize if my question seems dumb…

Thank you.

Posts: 1

Participants: 1

Read full topic

Real time data request

$
0
0

@wibits wrote:

Hi,
I am creating a real time application. So I need to post my data to mysql database for every 5 secs.
But it is not working properly and make mobile to hang. Is there any solutions to fix this in ionic?
Thanks…

Posts: 1

Participants: 1

Read full topic

[ionic v4.0.0]: App hangs at white screen just after splash screen

$
0
0

@hunter0811 wrote:

I upgrade my project from ionic v4 beta to ionic v4.0.0 stable. Now i am trying to run my app in android 5.0 device it hangs on white screen just after splash.

Here is my ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.10.2 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.2.4
   @ionic/angular-toolkit        : 1.3.0

Cordova:

   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.3.3, (and 10 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/hsain/Library/Android/sdk)
   NodeJS            : v10.11.0 (/usr/local/Cellar/node/10.11.0/bin/node)
   npm               : 6.7.0
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

I am getting the key viewport-fit is not recognized and ignored. android error.

Posts: 1

Participants: 1

Read full topic

Ionic 4 Ios Building BUT NSURLConnection Failure

$
0
0

@madmartigan wrote:

I recently updated my Mac with the latest build and after not being able to run an existing application I decided to try samples and found I get the same error.

I have following versions of tools

XCode Version 9.3 (9E145)
Ionic CLI 4.10.2
Cordova 6.5.0

I run the commands to build the sample applications and build the ios platform which all works. I then load in XCode and the simulator shows the splash screen then a white screen. The output in the console is as follows ;

Devices/83B940CC-B60F-479C-B44D-5FD77AB24C12/data/Containers/Data/Application/1CE6A5C2-2124-4BED-B8A7-83784999AEB3/Library/Cookies/io.ionic.starter.binarycookies
2019-02-07 18:50:27.164217+0800 MyApp[3776:90391] Apache Cordova native platform version 4.3.1 is starting.
2019-02-07 18:50:27.164959+0800 MyApp[3776:90391] Multi-tasking -> Device: YES, App: YES
2019-02-07 18:50:27.298939+0800 MyApp[3776:90391] Using UIWebView
2019-02-07 18:50:27.302774+0800 MyApp[3776:90391] [CDVTimer][handleopenurl] 0.086069ms
2019-02-07 18:50:27.305477+0800 MyApp[3776:90391] [CDVTimer][intentandnavigationfilter] 2.529025ms
2019-02-07 18:50:27.305741+0800 MyApp[3776:90391] [CDVTimer][gesturehandler] 0.092030ms
2019-02-07 18:50:27.321842+0800 MyApp[3776:90391] [CDVTimer][statusbar] 15.941024ms
2019-02-07 18:50:27.362557+0800 MyApp[3776:90391] [CDVTimer][splashscreen] 40.529013ms
2019-02-07 18:50:27.362828+0800 MyApp[3776:90391] CDVIonicKeyboard: resize mode 1
2019-02-07 18:50:27.364721+0800 MyApp[3776:90391] CDVIonicKeyboard: WARNING!!: Keyboard plugin works better with WK
2019-02-07 18:50:27.365571+0800 MyApp[3776:90391] [CDVTimer][keyboard] 2.742052ms
2019-02-07 18:50:27.365884+0800 MyApp[3776:90391] [CDVTimer][TotalPluginStartup] 63.211083ms
2019-02-07 18:50:27.961890+0800 MyApp[3776:90391] Resetting plugins due to page load.
2019-02-07 18:50:28.582249+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.603276+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.603492+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.603658+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.604646+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.604809+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.615354+0800 MyApp[3776:90391] Finished load of

Anyone else had this issue or a workaround ?

Posts: 1

Participants: 1

Read full topic

Unable to use "Flashilight" plugin

$
0
0

@pantarmj wrote:

Hi All, I want to turn flashlight on automatically (if possible) or manually (on and off) when starting scanning barcode. But I am even unable to just use the “Flashlight” plugin in ionic4, It is showing the “Object(…) is not a function” when calling any of the flashlight function such as this.flashlight.switchOn( ) etc. Error screenshot can be shown below:

anybody can pls help…

Posts: 1

Participants: 1

Read full topic

Ion-segment button bottom border ionic v4

$
0
0

@anupzone wrote:

In latest version, border bottom from ion-segment button removed from mobile view.

.segment-button-indicator {
	display: none;
}

in DOM shadow. and unable to override this. any solution?

Posts: 1

Participants: 1

Read full topic


Paypal with currency INR unable to render

$
0
0

@Ravirapolu wrote:

Hi Frnds,

Iam creating one e commernce app, i want payment gateway so i used paypal but if i keep Currency INR its not renedering to paypal and unable to make transaction . But if i keep USD its works. Suggest me any solution for that . If we have idea about any other payment gateway like paytm, phonepe please help me.

Thanks,
Ravi

Posts: 1

Participants: 1

Read full topic

[ionic/angular 4.0.0] FormControl markAs*** not working

$
0
0

@jonmikelm wrote:

Using the Angular Reactive Forms API, when markAsTouched() function is called over a FormControl, the corresponding ion-touched class is not applied to the ion-item (nor to the ion-input). Only the ng-touched is applied.
This problem occurs with each of the markAs*** functions:

  • markAsTouched
  • markAsUntouched
  • markAsDirty
  • markAsPristine
  • markAsPending

Angular Reactive Forms FormControl status classes (ng-XXX) should be paired with the corresponding ion-XXX classes on every FormControl status change.

This is not the first issue I’ve found regarding form control validations. Ionic 4 has a considerable room for improvement in this regard.

Posts: 1

Participants: 1

Read full topic

Cordova Ionic Cannot Deploy to emulator An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):

$
0
0

@rob0to wrote:

I have a problem with deployment Ionic app into iOS emulator.

After build using the following command:

ionic cordova run ios -l -- --buildFlag="-UseModernBuildSystem=0"

I will get after a successful build and start emulator following cli message:

 [cordova]  ** BUILD SUCCEEDED **
[cordova]  
[cordova]  No target specified for emulator. Deploying to iPhone-X, 12.1 simulator
[cordova]  An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
[cordova]  Failed to install the requested application
[cordova]  An application bundle was not found at the provided path.
[cordova]  Provide a valid path to the desired application bundle.

With No app installed into the emulator.

I tried to open the generated project in Xcode SDK and after the run in Xcode the app is launched in emulator but stuck on the splash screen with the exception in file main.h on line:

int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");

I tried almost everything, update cordova, ionic, ionic scripts, remove and install ios platform but all tries with same result.

I found that before several hours has been released cordova-ios in version 5.0.0

But is not possible to install this version using CLI so I cannot try and verify impact.

So current used version is

<engine name="ios" spec="4.5.5" />

Ionic info result is following:

Ionic:

   ionic (Ionic CLI)  : 4.10.2 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.2

Cordova:

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

System:

   Android SDK Tools : 26.1.1 (/Users/def/Library/Android/sdk)
   ios-deploy        : 1.9.1
   ios-sim           : 5.0.13
   NodeJS            : v10.6.0 (/usr/local/bin/node)
   npm               : 6.7.0
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

I tried everything but without luck.

What should i try to run app in emulator or device?

Thanks for any advice.

Origin topic can be found here:

Posts: 1

Participants: 1

Read full topic

Ionic3 - Cross origin requests are only supported for HTTP

$
0
0

@JoseGonzaga wrote:

Create an application with back-end spring-rest and front-end with Ionic3. It’s working locally. So I put the backend on the Amazon ec2. I am getting access to end-points through Postman or the browser itself, but I can not access through the front-end. It returns the following information: “Cross origin requests are only supported for HTTP.” and a second information “[Error] XMLHttpRequest can not load ec2-52-67-72-74.sa-east-1.compute.amazonaws.com:8080/login due to access control checks.”. How can I resolve this? thanks.

Posts: 2

Participants: 2

Read full topic

Speech to text and text to speech

$
0
0

@babita112 wrote:

Is there possibility to run speechtotext and Texttospeech in bacground mode when the app is closed or in background?

Posts: 1

Participants: 1

Read full topic

Viewing all 70435 articles
Browse latest View live