Posts by Felipe XST • 114 points
31 posts
-
1
votes1
answer41
viewsA: Sending EMAIL in IONIC/angular generates an error Cannot read Property 'then' of Undefined, anyone know why?
I am using this way and without errors. It allows me to choose which email application to send. send() { let email = { to: this.to, cc: [], bcc: [], attachment: [], subject: this.subject, body:…
ionicanswered Felipe XST 114 -
0
votes1
answer816
viewsQ: How to reference another collection in Firebase’s Cloud Firestore
I’m starting to learn Firebase using Cloud Firestore. And I have a question: How can I relate collections? I see the collections as tables, so I would have a collection of Products, and a Category.…
-
1
votes0
answers23
viewsQ: How to automatically generate fields in Firebase Cloudfirestorage
I am using Firebase database 'Cloudfirestore', I wonder if it is possible to save the fields automatically, so when adding any new item, do not need to write the name of each field and the value. If…
-
0
votes2
answers225
viewsA: Get Access Token in Ionic
In case anyone ever needs it, here’s the solution I got: var request = require('request'); request.post({ uri: "https://api.sandbox.paypal.com/v1/oauth2/token", headers: { "Accept":…
-
0
votes2
answers225
viewsQ: Get Access Token in Ionic
Through the command prompt I get an access token. curl -v https://api.sandbox.paypal.com/v1/oauth2/token \ -H "Accept: application/json" \ -H "Accept-Language: pt_BR" \ -u…
-
0
votes1
answer106
viewsA: Position Absolute does not work on IOS
I managed to solve by adding in my css: float: right;
-
0
votes1
answer106
viewsQ: Position Absolute does not work on IOS
I’m trying to line up a button at the end of a ion-item Man css of the button is: position: absolute !important; right: 0%; bottom: 0; and the result on Android is: But in the IOS the button simply…
-
0
votes1
answer128
viewsQ: Remember Login with Storage Ionic
Good morning to you all! I’m trying to remember the user data when sign in with Facebook, so I don’t need to always log in again. On my login page is: loginWithFB(userData) { this.fb.login(['email',…
-
0
votes1
answer455
viewsQ: Open facebook page Ionic
Hello! Use this code to open the Facebook application directly on the page on the device. <a href="#" class="link-fb" onclick="window.open('fb://page/0000000000000', '_system'); return…
-
0
votes1
answer145
viewsQ: Get Paypal Transaction ID on Ionic
I am using Paypal in my following project this documentation. My question is: how do I receive the transaction ID after payment made? My code is: this.payPal.init({ PayPalEnvironmentProduction: ''…
-
0
votes1
answer130
viewsQ: Error publishing to Apple
Hi, I’m trying to send my first app to apple, but it’s giving a bit of a headache.. I already searched all my code, I did a total cleaning but I can not find anything on camera, and use, but I’m…
-
0
votes1
answer710
viewsQ: Passing data to a modal
I’m trying to pass data to a modal. I believe I got the first part, because on Chrome’s console I see that I received this data, but I don’t know what’s wrong, that I’m not being able to see them on…
-
0
votes1
answer253
viewsA: Ion-Archbar icon on the right
Really very simple... I just added left to the scss icon .search{ position: fixed; box-shadow: none !important; left: 45%; top: 1%; background: transparent; max-width: 160px; .searchbar-search-icon…
ionicanswered Felipe XST 114 -
0
votes1
answer253
viewsQ: Ion-Archbar icon on the right
It looks simple but I haven’t found anything. How can I paste the icon on the right side >>>> and the search bar on the left side <<< ? <ion-searchbar placeholder="Buscar"…
ionicasked Felipe XST 114 -
0
votes1
answer204
viewsQ: Remove white space from ion-item
I have a list of items searched dynamically from the database <ion-list *ngFor="let associado of associados" class="card-pessoa" no-padding> <ion-item no-padding class="card-pessoa">…
-
0
votes3
answers952
viewsQ: Change color of the Sidemenu icon
Good afternoon, how do I change the color of the sidemenu icon? I looked at the documentation and did some research but found nothing. <ion-header> <ion-navbar class="navbar-amcham">…
ionicasked Felipe XST 114 -
0
votes1
answer77
viewsQ: Dynamic background image
I have a list of products, clicking on some of them, redirects to another page showing only the content of this item. I receive the Image, but I would like it to be in the background, that is, it…
-
2
votes1
answer146
viewsQ: Pass database content from one page to another
It seems to be something simple to research, but I’m not getting it. I would like when clicked on a list item, to open a new page with the detailed information of that item, will be the same…
-
0
votes1
answer183
viewsQ: Remove line from footer
Hi, could someone give me a hand? I don’t know what could be wrong because I’ve used no-Lines before in another project and it worked perfectly, but here I can’t remove this line for nothing. It may…
-
-1
votes1
answer267
viewsQ: Remove White Space Ionic 3
I’m trying to remove this blank space from my project. I’d like to keep it that way: <ion-content no-padding> <div [ngSwitch]="Menu" > <ion-list *ngSwitchCase="'Todosgastronomia'"…
-
0
votes1
answer37
viewsQ: Display all text on button
Hello! It is possible to display all button text on it? Automatically adding these ellipsis, but would like to display all the text. <ion-segment-button value="Bareserestaurantes"…
-
0
votes1
answer365
viewsQ: use ion-select dynamically
I put as options in ion-select, South zone, north, center and west. I want when I click on some option, to show only the information of that zone by taking the information from the database. At the…
-
0
votes1
answer1469
viewsQ: Change color of icon
How do I change the color of an icon when clicked? I have created custom icons and are working perfectly, but I would like that selected, change your color. I’ve tried everything but I haven’t got…
-
0
votes1
answer143
viewsQ: Search database-specific data in Ionic 3
I would like to know how to filter and receive only the data I want on each page. my database.ts : `getAllProducts(){ return new Promise<Produto[]>((resolve, reject) => { let sql = "select…
-
1
votes0
answers460
viewsQ: Ionic Cordova-video player
I’m trying to add video in the app by following this tutorial : https://www.youtube.com/watch?v=E4S1yVBUPpk&t=9s I did everything right I believe, but when I run the application with Ionic…
-
1
votes0
answers86
viewsQ: Google maps inside the Ionic 3 segment?
I wonder if it is possible to add this map in an Ionic segment tab. I even managed to use the map perfectly as I want, but I would like to leave it only in a tab of the segment. When I put it on it…
-
0
votes1
answer27
viewsA: I can’t go to the Page
I managed to fix it, it was a small mistake, missing "##' ".. { title: 'Agenda Cultural', icon:'any', Component: 'Agendaculturalpage' }, { title: 'By region', icon:'any', Component: 'Porregiaopage'…
-
0
votes1
answer27
viewsQ: I can’t go to the Page
Hello, here I am with one more question. I created a project on Ionic 3, and I have this profile menu , but when I click on each menu item , ( Cultural agenda, by region, blog..) does not open the…
-
0
votes2
answers193
viewsA: Change title by icon
in . ts I can edit the title where it is:" constructor(public navCtrl: Navcontroller) { this.tabs=["page1","page2","page3","page4"]; " But I don’t know how from here ( if it’s here ) I change to an…
-
1
votes2
answers193
viewsQ: Change title by icon
I am still learning about Ionic. I would like to know how to change the title of the guides by an icon or a custom image. HTML <ion-header> <ion-navbar>…
-
0
votes1
answer129
viewsQ: Problems adding side menu in project already started
I’m starting with Ionic, have a question. I created a blank project "Ionic start project Blank", and I was able to create the main screen of my app, just a LOGO with "LOGIN" button to enter the app,…