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

Ionic 3 calendar event source checkbox


Walkthrough

$
0
0

@projectgreywolf wrote:

So I got the Business Directory Ionic 1.15 from code canyon. I’m struggling getting everything installed using the Terminal on my MacBook Air. I’m trying to see if anyone can walk me through the direct steps to get this setup? I’ve tried looking online and I’m still stuck!

Posts: 2

Participants: 2

Read full topic

How to get only number and name from contact list

$
0
0

@flycoders_sourav wrote:

how to get only number and name from contact list.basically i want to implement a contact list .like whats app.how can i do that?please help me anyone
thanks in advance.

Posts: 1

Participants: 1

Read full topic

Swipe not work

Modal content shows in background

Ionic serve --lab --local JUST STOPPED WORKING

$
0
0

@Ben1nB1ack wrote:

–Local flag just stopped working just now

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.16.0
    ionic (Ionic CLI) : 3.16.0

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : browser 5.0.0 ios 4.5.2
    Ionic Framework    : ionic-angular 3.7.0

System:

    ios-deploy : 1.9.2
    Node       : v8.6.0
    npm        : 5.5.1
    OS         : macOS High Sierra
    Xcode      : Xcode 9.1 Build version 9B55

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

Posts: 1

Participants: 1

Read full topic

Android PUT/POST not working, but iOS work fine

$
0
0

@Nulra wrote:

I am update my ionic to the latest recently, and I have CORS issue in iOS 11, so I have added the allow-access-control-origin:* header in the server. Then iOS now work fine, but Android PUT/POST is not working now, it give 403 forbidden when I inspect it in chrome.

My info:

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.15.2
ionic (Ionic CLI) : 3.15.2
global packages:

cordova (Cordova CLI) : 7.1.0
local packages:

@ionic/app-scripts : 3.0.1
Cordova Platforms  : android 6.3.0 ios 4.5.3
Ionic Framework    : ionic-angular 3.8.0
System:
ios-deploy : 1.9.2
ios-sim    : 5.0.13
Node       : v7.10.0
npm        : 5.5.1
OS         : macOS Sierra
Xcode      : Xcode 9.0.1 Build version 9A1004
nvironment Variables:

ANDROID_HOME : not set
Misc:

backend : legacy

Anyone know how to solve it? Thanks a lot.

Posts: 1

Participants: 1

Read full topic

How to use Do While loop in Ionic 2/3?

$
0
0

@pendora7 wrote:

I want to implement a logic in HTML page. I am new to Angular Ts that’s why i am finding it very difficult.

Posts: 1

Participants: 1

Read full topic


How set has-bouncing: false in ios

$
0
0

@byeonghun wrote:

Hi, I have app testing in android and ios.

In ios, has-bouncing default option in ion-content is ture.

I want all has-bouncing value is false. how can i do?

Posts: 1

Participants: 1

Read full topic

Render one page into other page

$
0
0

@khushbu_thakkar_tech wrote:

I have one application where I have multiple pages .

I have one page called parent.html with parent.ts.

now i have one other page child.html with below selector .

@Component({
selector: ‘child’,
templateUrl: ‘child.html’
})

now i want to render b.html inside a.html .

I have used selector of b .

ex :


but it display empty content.

Posts: 2

Participants: 2

Read full topic

Viewport-fit issue

Captcha or similar validation technique in ionic 2 app

$
0
0

@rafayahmadbaedi wrote:

I’m trying to add captcha to ionic 2 app using angular2-recaptcha.

First I created CAPTCHA sitekey of reCAPTCHA Android and added my package name, but it gives me the error “ERROR for site owner: Invalid domain for site key”.

Second try was made by using reCAPTCHA v2 with configuration of not to match the origin, and faces the same error “ERROR for site owner: Invalid domain for site key”.

How to use Captcha in ionic 2 app, or is there any similar technique provided by ionic which I can use to validate human or robot?

Posts: 1

Participants: 1

Read full topic

Ionic 3 progress bar

Using @Types in Ionic 3 / Angular 4

$
0
0

@bronxyme wrote:

Hello Ionic-Developers,

Its my first try using @types in an Ionic Project.

I have installed the following npm package:

After that I used the types like below:


  ngAfterViewInit() {
    let platform = new H.service.Platform({
      app_id: 'XXXXXXXXXXXX',
      app_code: 'XXXXXXXXXXXX',
      useHTTPS: true,
      useCIT: true
    });
  }

The browser give me following exception:

image

Im developing with Visual Studio Code, there seems all elements available (defined in index.d.ts):

Need I any other includes that the browser knowing the classes?

Thanks in advance.

Posts: 2

Participants: 1

Read full topic

How to enable overflow-scroll in android ionic 3

$
0
0

@ranmal96 wrote:

I tried enabling over scroll in ionic by adding

overflow-scroll=“true” in ion-content

but didn’t work so how do i enable it in ionic 3.

Posts: 1

Participants: 1

Read full topic


CRC computation - Answer

$
0
0

@gsoulie wrote:

Hi everyone,

Here is my contribution to help people who will need to calculate a CRC (cyclic redundancy check). In my case i had need to calculate CRCXmodem checksum for Bluetooth serial communication.
I spent time to search something in Javascript for my Ionic app and i did not have the time to learn deeper on the subject. We can found a lot of lib or sample in C on the web but it is not always easy to understand and refactoring it to javascript.

But, i finally found a online CRC calculator, wrote in JS, here : http://www.tahapaksu.com/crc/.

After retrieving the source code, i created a ts class you can find here : CRC.ts

You simply need to add it to your project and use it like below :

First import the module (crc in my case) in the providers section in your app.module.ts

import { crc } from './../models/crc';
@NgModule({
  declarations: [
    MyApp,
    HomePage
  ],
  imports: [
    BrowserModule,
    IonicModule.forRoot(MyApp)
  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp,
    HomePage
  ],
  providers: [
    StatusBar,
    SplashScreen,
    {provide: ErrorHandler, useClass: IonicErrorHandler},
    crc
  ]
})
export class AppModule {}

Next you can use it

import { crc } from './../../models/crc';

@Component({
  selector: 'page-mode-expert',
  templateUrl: 'mode-expert.html',
})
export class ModeExpertPage {

 constructor(public navCtrl: NavController,
              public navParams: NavParams,
              private utils: crc) {

        this.utils.CRCMaster.init();  //init CRC lib
	    let result = this.utils.CRCMaster.Calculate("01040706","hex");  // Calculate CRC for the hexa string '01040706'
      	console.log("All results : " + JSON.stringify(result));  // Display the result for all type of CRC
        console.log("CRCXmodem : " + result.crcxmodem);  // Display result for CRCXmodem type only
  }

}

That’s all, i hope that it could help you like it helped me !

Posts: 1

Participants: 1

Read full topic

Google sign-in doesn't work on IOS or Android. Just web-browser based

$
0
0

@pepeocana wrote:

Hi Guys!

This is my first post, so fist of all, Greetings to all the Ionic community!

I’m building an app and I’d like to allow the user to authenticate using Google credentials.

In order to have this implemented in my app I can use signInWithRedirect() or signInWithPopup() both working fine when I test the app in the browser.

But, I saw that google doesn’t support this when the app is running in a IOS or Android environment. I’ve been following some threads in GitHub but couldn’t find a solution :frowning:

This are the links related to this issue:



Anyone here with a solution?

Thanks!!!

Posts: 1

Participants: 1

Read full topic

Function called when ion-tab page got back from the stack

$
0
0

@jooo13 wrote:

I want to know which function is called everytime when a page representing a tab (child of tabs) is shown ?
I want it to be run even if it’s just a pop of page that led me to the page containing the tabs.

I’ve tried the following functions of the page loaded in tab but none of them was invoked :

  • constructor
  • ngOnInit
  • ionViewDidLoad
  • ionViewWillEnter
  • ionViewDidEnter

The reason I need it is : I want to update the tab according to what happened in popped page.

Posts: 1

Participants: 1

Read full topic

Ionic 3 Super Starter Api not working

Ionic 3.9.2 resource folder

$
0
0

@anton_klochko wrote:

Hi all ! Could anyone suggest please, where I could find resource folder in Ionic 3.9.2 ? I run ionic start test and see such structure …

ionic.config.json	package.json		tslint.json
node_modules		src
package-lock.json	tsconfig.json

Posts: 1

Participants: 1

Read full topic

Viewing all 70448 articles
Browse latest View live


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