Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all 49526 articles
Browse latest View live

How to share my app

$
0
0

@Ludolefrenchy wrote:

Hello
I am developing a simple app only for co-workers.
how to make so that everyone can install it on their smartphone?
Thank you in advance.
Ludo.

Posts: 1

Participants: 1

Read full topic


ITMS-90809: Deprecated API Usage - UIWebView

Ionic 4 variable

$
0
0

@xfveiga wrote:

ionic 4 I have a text variable that when going to a page if there is a “/” in the text, it gives an error how to solve?

showCustomer(id,name,desc,apl,p_ios,p_android,app_nav,app_tot_p,app_tot_q,app_tot_m){
this.router.navigate([’/showcustomer/’ + id + ‘/’ + name + ‘/’ + (desc) + ‘/’ + apl + ‘/’ + p_ios + ‘/’ + p_android +’/’ + app_nav +’/’ + app_tot_p +’/’ + app_tot_q +’/’ + app_tot_m ]);

}

Posts: 1

Participants: 1

Read full topic

Angular jwt token not attached to requests

$
0
0

@Osta wrote:

@auth0/angular-jwt is not attaching authorization headers on my API calls and I’m stuck on this for a long time now
This is my configuration:

import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {RouteReuseStrategy} from '@angular/router';

import {IonicModule, IonicRouteStrategy} from '@ionic/angular';
import {SplashScreen} from '@ionic-native/splash-screen/ngx';
import {StatusBar} from '@ionic-native/status-bar/ngx';

import {AppComponent} from './app.component';
import {AppRoutingModule} from './app-routing.module';
import {Storage, IonicStorageModule} from '@ionic/storage';
import {HttpClientModule} from '@angular/common/http';
import {JwtModule, JWT_OPTIONS, JwtHelperService} from '@auth0/angular-jwt';
import {InAppBrowser} from '@ionic-native/in-app-browser/ngx';

export function jwtOptionsFactory(storage) {
    return {
        tokenGetter: () => {
            return storage.get('jwt_token');
        },
        whitelistedDomains: ['localhost:3000'],
        throwNoTokenError: true
    };
}

@NgModule({
    declarations: [AppComponent],
    entryComponents: [],
    imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule,
        IonicStorageModule.forRoot(),
        HttpClientModule,
        JwtModule.forRoot({
            jwtOptionsProvider: {
                provide: JWT_OPTIONS,
                useFactory: jwtOptionsFactory,
                deps: [Storage],
            }
        })],
    providers: [
        StatusBar,
        SplashScreen,
        {provide: RouteReuseStrategy, useClass: IonicRouteStrategy},
        {provide: JWT_OPTIONS, useValue: JWT_OPTIONS},
        JwtHelperService,
        InAppBrowser
    ],

Posts: 1

Participants: 1

Read full topic

CORS issue for token based authentication in ionic 4

$
0
0

@scharli wrote:

When i’m uploading my project on hosting site and data is coming from there only,it worked fine on localhost but when i uploaded my webapi on hosting server it’s not working data is not coming and i’m not able to logged into my application.
I tried different ways, in postman data is coming perfectly and i also able to log in.
Error is attached below:

1.) Error:

Access to XMLHttpRequest at ‘http://stylen.in/token’ from origin ‘http://localhost:8100’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

2.) Error:

POST http://stylen.in/token net::ERR_FAILED

Posts: 1

Participants: 1

Read full topic

WebSockets for IOS / Android

$
0
0

@mydrivensolutions wrote:

I’m using WebSockets to communicate with a local server which works fine in the web. However when I send to IOS and the page loads that connects nothing happens. Does anyone know workarounds or something else I need to do in Xcode to get it to work?

Posts: 1

Participants: 1

Read full topic

Ionic app stuck on splash screen after update my app using app store

$
0
0

@sagar1412 wrote:

app ionic ios app stuck on splash screen after update app on app store.
but if am uninstall first app and install app using app store working fine.
this issue come only if my app already install and try to update from app store

plugin list-
call-number 0.0.2 “Cordova Call Number Plugin”

code-push 2.0.4 “CodePushAcquisition”

com-badrit-base64 0.2.0 “Base64”

com-sarriaroman-photoviewer 1.1.16 “PhotoViewer”

com.bugsee.cordova-plugin 1.0.25 “Bugsee Plugin”

cordova-android-play-services-gradle-release 1.4.3 “cordova-android-play-services-gradle-release”

cordova-android-support-gradle-release 1.4.2 “cordova-android-support-gradle-release”

cordova-clipboard 1.2.1 “Clipboard”

cordova-open-native-settings 1.5.1 “Native settings”

cordova-plugin-add-swift-support 1.7.1 “AddSwiftSupport”

cordova-plugin-android-permissions 1.0.0 “Permissions”

cordova-plugin-app-version 0.1.9 “AppVersion”

cordova-plugin-appminimize 1.0 “AppMinimize”

cordova-plugin-apprate 1.3.0 “AppRate”

cordova-plugin-calendar 5.1.4 “Calendar”

cordova-plugin-camera 2.4.1 “Camera”

cordova-plugin-code-push 1.11.11 “CodePush”

cordova-plugin-compat 1.2.0 “Compat”

cordova-plugin-console 1.1.0 “Console”

cordova-plugin-datepicker 0.9.3 “DatePicker”

cordova-plugin-device 1.1.7 “Device”

cordova-plugin-dialogs 2.0.1 “Notification”

cordova-plugin-email-composer 0.8.15 “EmailComposer”

cordova-plugin-file 4.3.3 “File”

cordova-plugin-file-opener2 2.0.19 “File Opener2”

cordova-plugin-file-transfer 1.6.3 “File Transfer”

cordova-plugin-filechooser 1.0.1 “File Chooser”

cordova-plugin-filepath 1.0.2 “FilePath”

cordova-plugin-geolocation 2.4.3 “Geolocation”

cordova-plugin-globalization 1.11.0 “Globalization”

cordova-plugin-google-analytics 1.8.3 “Google Universal Analytics Plugin”

cordova-plugin-inappbrowser 1.7.2 “InAppBrowser”

cordova-plugin-ionic-webview 4.1.1 “cordova-plugin-ionic-webview”

cordova-plugin-ios-base64 1.0.0 “iOSBase64”

cordova-plugin-keychain-touch-id 3.2.1 “TouchID and Keychain”

cordova-plugin-nativegeocoder 2.0.2 “NativeGeocoder”

cordova-plugin-network-information 1.3.4 “Network Information”

cordova-plugin-networkinterface 1.2.0 “NetworkInterface”

cordova-plugin-print-pdf 4.0.2 “PrintPDF”

cordova-plugin-safariviewcontroller 1.4.7 “SafariViewController”

cordova-plugin-secure-storage 2.6.8 “SecureStorage”

cordova-plugin-speechrecognition 1.1.2 “Speech Recognition”

cordova-plugin-splashscreen 4.1.0 “Splashscreen”

cordova-plugin-statusbar 2.4.2 “StatusBar”

cordova-plugin-whitelist 1.3.3 “Whitelist”

cordova-plugin-zip 3.1.0 “cordova-plugin-zip”

cordova.plugins.diagnostic 3.9.2 “Diagnostic”

de.appplant.cordova.plugin.printer 0.7.1 “Printer”

ionic-plugin-deeplinks 1.0.20 “Ionic Deeplink Plugin”

ionic-plugin-keyboard 2.2.1 “Keyboard”

Posts: 1

Participants: 1

Read full topic

Ionic 4, dynamic background images

$
0
0

@TaimoorMughal wrote:

I have been trying to add multiple background images in ionic 4 project. For static images i have creates the styles but for dynamic images is giving error in styles.

     <ion-content style = "--background: url('https://restcountries.eu/data/pak.svg') 0 0/100% 50% no-repeat, 
                                   url('https://restcountries.eu/data/pak.svg') 0 100%/100% 50% no-repeat">  

                               ...............Some Code........................... 

        </ion-content>

Currently its giving me 2 images on background. For dynamic i’m trying:

<ion-content style = "--background: url('{{flag1}}') 0 0/100% 50% no-repeat, 
                                   url('{{flag2}}') 0 100%/100% 50% no-repeat">  

                               ...............Some Code........................... 

        </ion-content>

But images are not being displayed. Can anybody help me in doing this. Thank you

Posts: 1

Participants: 1

Read full topic


TypeError: this.validator is not a function

$
0
0

@wakadala wrote:

I’m iterating through an array of records to dynamically create formGroups for the frontend. I’ve achieved this in submitting the form, but i’m creating the function to edit the submitted results.

TS Defining the form group:

      this.entry = this.formBuilder.group({
        bm: this.formBuilder.array([this.iterateBowel()]),
...

Then for the iterating function:

  iterateBowel(): FormGroup {
    let array = this.recordData[54]; //has the array content to be iterated as values for the form to be edited

    this.iterableArray =  <FormArray>[];
    for(var i = 0; i<array.length; i++){
      let bm = array[i];
       let fg = this.formBuilder.group({
        1: [bm[1], ],
        2: [bm[2], ],
        3: [bm[3], ],
        4: [bm[4], ],
        5: [bm[5], ],
      });
     this.iterableArray.push(fg);
  }
  return this.iterableArray;
  }

With this, I keep getting “this.validator is not a function” error. I also changed values to 1: [[bm[1]], ], etc… but the same error kept showing. Any ideas?

Thanks!

Posts: 1

Participants: 1

Read full topic

Debugging app in chrome dev tools stop working

$
0
0

@Vartex05 wrote:

Hi, i got a problem with debugging my ionic app in chrome dev tools, when i go to chrome/inspect, the device shows in a list of devices, but when i click on Inspect, i get just blank window and nothing happens. This happens only on one device. Weird is, that a few days ago, it worked. Any ideas what can cause this problem?

Posts: 1

Participants: 1

Read full topic

It's impossible to implement date picker on page itself?

Problem with ion-long-press and scroll

$
0
0

@jorgemartiinez19 wrote:

I’m trying to make a todo app and I’m having problems implementing the package of ionic long press.

I’ve got a ngFor of cards like this:

<ion-card class="animate fadeIn fast"
          (click)="goToTasks()"
          ion-button
          ion-long-press
          [interval]="500"
          (pressed)="showOptions(list.id)"
          >
  <ion-card-header class="ion-text-left">
    <ion-row>
      <ion-col>
        <ion-title class="ion-text-left">{{list.name}}</ion-title>
      </ion-col>
    </ion-row>
  </ion-card-header>
  <ion-card-content>
    <ion-row class="fecha-row">
      <ion-badge>{{list.created_at | date}}</ion-badge>
    </ion-row>
    <ion-row>
      <ion-col size="6">
        <ion-icon name="attach"
                  color="tertiary">&nbsp;</ion-icon>
        <ion-text> {{list.tasks.length}} items</ion-text>
      </ion-col>
      <ion-col size="6">
        <ion-icon name="checkmark-circle"
                  color="primary">&nbsp;</ion-icon>
        <ion-text> {{numCompleted}}/{{list.tasks.length}} completed</ion-text>
      </ion-col>
    </ion-row>
  </ion-card-content>
</ion-card>

And the long press is working but the scroll not, I can scroll on the computer browser with the mouse but when I try the app on a real device I just can’t scroll. If i remove the ion-long-press I can do it, so I’m sure that the problem is with that npm package.

What should i do to fix this?
(sorry for my english)

Posts: 1

Participants: 1

Read full topic

Weird padding in form

$
0
0

@greentreelabs wrote:

Hi,

I’m making a super simple form with a text input and 2 buttons, using ion-item as rows. First row has the ion-input and the second row has 2 ion-buttons. As you can see from the screenshot, the second row has a weird padding and I don’t understand why.

Is there any reference for form’s markup?

<ion-content>
  <ion-item>
    <ion-label position="stacked">New course name:</ion-label>
    <ion-input required [(ngModel)]="name"></ion-input>
  </ion-item>
  <ion-item>
    <ion-button [routerLink]="['/courses']" size="default" color="light">Cancel</ion-button>
    <ion-button (click)="save()" size="default" color="primary">Save</ion-button>
  </ion-item>
</ion-content>

Posts: 1

Participants: 1

Read full topic

How to send data to ionic 4 when new entry added to the postgree DB?

$
0
0

@iozer wrote:

I need to send data from Spring Boot to the ionic 4 when new entry is added to postgree DB. When I refresh the page it sends get request to the Spring Boot and retrive the data. But I need to do that without refreshing the page.

 fetchAlarms(){
    return this.http.get<any>('http://localhost:8080/api/getAllFines')
    .subscribe(transformedData =>  {
      this.finesChanged.next(transformedData);
      this.trackList.next(transformedData);
    });
  }

Here is the Ionic Code which get data when the user enter the program or when they refresh the page.

I did some research, with the zeromq I can do this. However as far as I get, Ionic4 does not support the zeromq.

Thank You Very Much.

Posts: 1

Participants: 1

Read full topic

Running Ionic 6 on Android API 21

$
0
0

@slaann wrote:

Testing my App on Android 6 (mandatory) and the App is not considering css variables, any quick fix for this?
I’ve seen posts talking about cordova crosswalk plugins but cant find an updated installation method so that tells me its deprecated

Posts: 1

Participants: 1

Read full topic


How to return data from modals to viewController without only calling the dismiss()

$
0
0

@karabillie wrote:

// myPage.ts
// Passing data to the modal:
let modal = Modal.create(myModal, { data: [...] });

// Getting data from the modal:
modal.onDismiss(data => {
    console.log('MODAL DATA', data);
});
// myModal.ts
constructor(inputData: NavParams, private view: ViewController) {
    // Getting data from the page:
    var dataFromPage = inputData.get('data');
}

dismiss() {
    // Returning data from the modal:
    this.view.dismiss(
        // Whatever should be returned, e.g.:
        // { ... }
    );
}

Hi. I implemented the code seen from this post Ionic Modal don't return data. How to return data from ionic modals?, which work perfectly.

I have now the exact problem. I want to send the data from the modal to the viewControllew without calling the dimiss() method. the problem is specifically when I click the back button in android devices, where I want my data to be sent even if i press the back button. How to achieve this?

Posts: 1

Participants: 1

Read full topic

[IONIC4] Real time responding for swipe back of ionic pagepage

$
0
0

@avex wrote:

For real time responding, I am planing to implement real time swipe back of Page of iOS.
Partial like IonMenu, but Page navigation style instead, native app like, you know it.

When a page swipe back and release reach threshold position, ex: 1/2 page width, the page will full navigate back, otherwise recovery to current state.

My problem is I have no idea how I can implement this, is there any example or hints?

Posts: 1

Participants: 1

Read full topic

Ionic IOS build failing during FirebaseX installation

$
0
0

@YMF wrote:

Hi everyone,

I’m trying to build my ionic project integrated with firebase but during a production build i continue to get the message that the directories are not found. I already tried to navigate myself into the build outputs and install/update the pods manually. I also tried to remove the plugins/platforms/node_modules/www/package.lock and build the project again without luck.

Ld /Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/build/emulator/\ Vastgoed.app/\ Vastgoed normal x86_64 (in target ' Vastgoed' from project ' Vastgoed')
    cd /Users/YMF/WebstormProjects/makelaarsapp/platforms/ios
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios11.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -L/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/build/emulator -L/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/Pods/GoogleAnalytics/Libraries -F/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/build/emulator -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/AppAuth -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/BoringSSL-GRPC -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseABTesting -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseAuth -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseCore -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseCoreDiagnostics -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseFirestore -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseInAppMessaging -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseInstallations -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseInstanceID -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseMessaging -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseRemoteConfig -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GTMAppAuth -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GTMSessionFetcher -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GoogleDataTransport -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GoogleDataTransportCCTSupport -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GoogleToolboxForMac -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GoogleUtilities -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/PromisesObjC -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/Protobuf -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/abseil -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/gRPC-C++ -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/gRPC-Core -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/leveldb-library -F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/nanopb -F/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/Pods/Crashlytics/iOS -F/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/Pods/Fabric/iOS -F/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/Pods/FirebasePerformance/Frameworks -F/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/Pods/GoogleAppMeasurement/Frameworks -F/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/Pods/GoogleSignIn/Frameworks -F/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/Pods/GoogleSymbolUtilities/Frameworks/frameworks -F/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/Pods/GoogleTagManager/Frameworks -F/Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/Pods/GoogleUtilitiesLegacy/Frameworks/frameworks -filelist /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/\ Vastgoed.build/Release-iphonesimulator/\ Vastgoed.build/Objects-normal/x86_64/\ Vastgoed.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/\ Vastgoed.build/Release-iphonesimulator/\ Vastgoed.build/Objects-normal/x86_64/\ Vastgoed_lto.o -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -ObjC -lGoogleAnalytics -lc++ -lsqlite3 -lz -framework AdSupport -framework AddressBook -framework AppAuth -framework CoreData -framework CoreGraphics -framework CoreTelephony -framework CoreText -framework Crashlytics -framework FBLPromises -framework FIRAnalyticsConnector -framework Fabric -framework FirebaseABTesting -framework FirebaseAnalytics -framework FirebaseAuth -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseFirestore -framework FirebaseInAppMessaging -framework FirebaseInstallations -framework FirebaseInstanceID -framework FirebaseMessaging -framework FirebasePerformance -framework FirebaseRemoteConfig -framework Foundation -framework GTMAppAuth -framework GTMSessionFetcher -framework GoogleAppMeasurement -framework GoogleDataTransport -framework GoogleDataTransportCCTSupport -framework GoogleSignIn -framework GoogleSymbolUtilities -framework GoogleTagManager -framework GoogleToolboxForMac -framework GoogleUtilities -framework GoogleUtilitiesLegacy -framework JavaScriptCore -framework LocalAuthentication -framework MobileCoreServices -framework QuartzCore -framework SafariServices -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework absl -framework grpc -framework grpcpp -framework leveldb -framework nanopb -framework openssl_grpc -framework protobuf -weak_framework AuthenticationServices -weak_framework UserNotifications -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/\ Vastgoed.build/Release-iphonesimulator/\ Vastgoed.build/\ Vastgoed.app-Simulated.xcent /Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/build/emulator/libCordova.a -lz -weak_framework WebKit -framework AuthenticationServices -framework Pods__Vastgoed -Xlinker -dependency_info -Xlinker /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/\ Vastgoed.build/Release-iphonesimulator/\ Vastgoed.build/Objects-normal/x86_64/\ Vastgoed_dependency_info.dat -o /Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/build/emulator/\ Vastgoed.app/\ Vastgoed
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/AppAuth'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/BoringSSL-GRPC'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseABTesting'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseAuth'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseCore'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseCoreDiagnostics'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseFirestore'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseInAppMessaging'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseInstallations'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseInstanceID'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseMessaging'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/FirebaseRemoteConfig'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GTMAppAuth'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GTMSessionFetcher'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GoogleDataTransport'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GoogleDataTransportCCTSupport'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GoogleToolboxForMac'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/GoogleUtilities'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/PromisesObjC'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/Protobuf'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/abseil'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/gRPC-C++'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/gRPC-Core'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/leveldb-library'
ld: warning: directory not found for option '-F/Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Products/Release-iphonesimulator/nanopb'
duplicate symbol '_OBJC_IVAR_$_CDVWKWebViewEngine._engineWebView' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c5afca144f24bbb5850b8fe73f9d0ad2d.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c25b9923b47ddd5beeb423d559ffa586f.o
duplicate symbol '_OBJC_IVAR_$_CDVWKWeakScriptMessageHandler._scriptMessageHandler' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c5afca144f24bbb5850b8fe73f9d0ad2d.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c25b9923b47ddd5beeb423d559ffa586f.o
duplicate symbol '_OBJC_IVAR_$_CDVWKWebViewEngine._weakScriptMessageHandler' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c5afca144f24bbb5850b8fe73f9d0ad2d.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c25b9923b47ddd5beeb423d559ffa586f.o
duplicate symbol '_OBJC_CLASS_$_CDVWKWeakScriptMessageHandler' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c5afca144f24bbb5850b8fe73f9d0ad2d.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c25b9923b47ddd5beeb423d559ffa586f.o
duplicate symbol '_OBJC_METACLASS_$_CDVWKWeakScriptMessageHandler' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c5afca144f24bbb5850b8fe73f9d0ad2d.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c25b9923b47ddd5beeb423d559ffa586f.o
duplicate symbol '_OBJC_IVAR_$_CDVWKWebViewEngine._uiDelegate' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c5afca144f24bbb5850b8fe73f9d0ad2d.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c25b9923b47ddd5beeb423d559ffa586f.o
duplicate symbol '_OBJC_CLASS_$_CDVWKWebViewEngine' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c5afca144f24bbb5850b8fe73f9d0ad2d.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c25b9923b47ddd5beeb423d559ffa586f.o
duplicate symbol '_OBJC_METACLASS_$_CDVWKWebViewEngine' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c5afca144f24bbb5850b8fe73f9d0ad2d.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewEngine-49ed9cdae98d1fce71db07ef7b75763c25b9923b47ddd5beeb423d559ffa586f.o
duplicate symbol '_OBJC_CLASS_$_CDVWKWebViewUIDelegate' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewUIDelegate-49ed9cdae98d1fce71db07ef7b75763c9ffd0d1e3ae6b8031ad8bb064be0aee5.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewUIDelegate-49ed9cdae98d1fce71db07ef7b75763c9816baacba34065e002e40fc8ef9fdc6.o
duplicate symbol '_OBJC_METACLASS_$_CDVWKWebViewUIDelegate' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewUIDelegate-49ed9cdae98d1fce71db07ef7b75763c9ffd0d1e3ae6b8031ad8bb064be0aee5.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewUIDelegate-49ed9cdae98d1fce71db07ef7b75763c9816baacba34065e002e40fc8ef9fdc6.o
duplicate symbol '_OBJC_IVAR_$_CDVWKWebViewUIDelegate._title' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewUIDelegate-49ed9cdae98d1fce71db07ef7b75763c9ffd0d1e3ae6b8031ad8bb064be0aee5.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKWebViewUIDelegate-49ed9cdae98d1fce71db07ef7b75763c9816baacba34065e002e40fc8ef9fdc6.o
duplicate symbol '_OBJC_CLASS_$_CDVWKProcessPoolFactory' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKProcessPoolFactory-49ed9cdae98d1fce71db07ef7b75763c029ccc7d612fd01edf6142eedd079f4e.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKProcessPoolFactory-49ed9cdae98d1fce71db07ef7b75763c5a34234740d085824bd23a9e643fe237.o
duplicate symbol '_OBJC_METACLASS_$_CDVWKProcessPoolFactory' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKProcessPoolFactory-49ed9cdae98d1fce71db07ef7b75763c029ccc7d612fd01edf6142eedd079f4e.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKProcessPoolFactory-49ed9cdae98d1fce71db07ef7b75763c5a34234740d085824bd23a9e643fe237.o
duplicate symbol '_OBJC_IVAR_$_CDVWKProcessPoolFactory._sharedPool' in:
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKProcessPoolFactory-49ed9cdae98d1fce71db07ef7b75763c029ccc7d612fd01edf6142eedd079f4e.o
    /Users/YMF/Library/Developer/Xcode/DerivedData/_Vastgoed-cwjwjfkafrnxdbfxckasxihyjsfp/Build/Intermediates.noindex/ Vastgoed.build/Release-iphonesimulator/ Vastgoed.build/Objects-normal/x86_64/CDVWKProcessPoolFactory-49ed9cdae98d1fce71db07ef7b75763c5a34234740d085824bd23a9e643fe237.o
ld: 14 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **


The following build commands failed:
        Ld /Users/YMF/WebstormProjects/makelaarsapp/platforms/ios/build/emulator/\ Vastgoed.app/\ Vastgoed normal x86_64
(1 failure)
xcodebuild: Command failed with exit code 65

My firebase configurations are:

Ionic:

   Ionic CLI          : 6.1.0 (/Users/sergen/.nvm/versions/node/v10.16.0/lib/node_modules/@ionic/cli)
   Ionic Framework    : ionic-angular 3.9.9
   @ionic/app-scripts : 3.1.9

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : ios 5.1.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 10 other plugins)

Utility:

   cordova-res : 0.9.0
   native-run  : not installed

System:

   Android SDK Tools : 26.1.1 (/Users/sergen/Library/Android/sdk)
   ios-sim           : 8.0.2
   NodeJS            : v10.16.0 (/Users/sergen/.nvm/versions/node/v10.16.0/bin/node)
   npm               : 6.14.1
   OS                : macOS Catalina
   Xcode             : Xcode 11.3.1 Build version 11C504

Posts: 1

Participants: 1

Read full topic

Ionic v4 Modal Controller question - this.modal and this.modalController

$
0
0

@nvahalik wrote:

We had a modal that needed to present another modal.

Within modal #1, the constructor is injected with private modal: ModalController and ModalController is imported from @ionic/angular.

However, when we try to create another modal: it says that this.modal.create() is not a function. Weird… so when we look at this.modal it appears to be an instance of the Overlay. That is, I can call dismiss() on it, but I cannot call create().

If I add another item to the constructor @Inject('ModalController') modalController: ModalController, that one appears to work as expected.

What’s also weird is that if I remove public modal: ModalController from the constructor and add it as a property of the class, it exists and I can see what it is (it links to the instance of the HtmlIonElementModal or whatever it is).

Finally, if I just call this.modalController.dismiss() instead of this.modal.dismiss() it appears to work as expected.

I’ve spent way too long on this already, but it appears to be some sort of weird Dependency Injection issue. Like, perhaps it wants something named modal to be added into the control? FWIW, it seems that this.modal is always there, even if it’s not defined in the constructor.

Anyone know why this is? Trying to read through the ionic docs doesn’t go anywhere and I followed the code up until createOverlay() but I’m not sure what customComponents is… besides it works and I need to move on. :slight_smile:

Posts: 1

Participants: 1

Read full topic

Ioinic 3 - Check if it's a GPS/location Fake

$
0
0

@lucaslivingnet wrote:

I need to check if the gps or location is valid. I need to know if a fake gps is being used.
My app is on Ionic 3 and I need to cover android and ios.
does anyone know a plugin or way to implement this verification?

Posts: 1

Participants: 1

Read full topic

Viewing all 49526 articles
Browse latest View live


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