Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228507 articles
Browse latest View live

How to add Linear gradient in variable.scss

$
0
0

i have also same problem to add gradients using color attribute !


How to add Linear gradient in variable.scss

$
0
0

Do you get any better solution to add gradients

IOnic 2 RC1: How to Upload photo from Gallery to server

$
0
0

sure .this is my take picture function this.camera.getPicture({
quality : 75,
destinationType : this.camera.DestinationType.FILE_URI,
sourceType : sourceType,
allowEdit : false,
correctOrientation: true,
targetWidth: 300,
targetHeight: 300,
saveToPhotoAlbum: false,
})

and this is for upload

let filename = this.Image1.split('/').pop(); // this.image have data
let options1: FileUploadOptions = {
fileKey: "upload_data",
fileName: filename,
chunkedMode: false,
mimeType: "multipart/form-data",
params: {'supplier_id': 538, 'doc_name': "pan_card"}
};

const fileTransfer: TransferObject = this.transfer.create();
fileTransfer.upload(this.Image1,url, options1)
.then((data) => {
console.log("***** Finally image uploaded by file transfer ***");
console.log(data.response);
console.log(data);
}, (err) => {
// error
console.log("error"+JSON.stringify(err));
});

Need help with native plugin mobile accessability

$
0
0

Your system information:

Cordova CLI: 7.0.1
Ionic Framework Version: 3.2.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 1.3.7
OS:
Node Version: v7.0.0

Ionic tabs - how to disable ios 3d touch peek and pop

$
0
0

No idea, but maybe by stopping the propagation of the event in the (press) action?

  $event.preventDefault();
  $event.stopPropagation();

P.S.: Of topics, I've to say, I like the design of your first screenshot, looks neat, well done

Cannot access current network state. Type is always 'null'

$
0
0

It still returns as null :confused:

Ionic dropdown style overriden by Android

$
0
0

Hello,

I am developing app on ionic and I am very happy with ionic,
one major issue I felt on ionic by developing an app for android,
ionic gives styles for dropdown here http://ionicframework.com/docs/v1/components/#select

After applying this code, dropdown looks beautiful in the browser, but when I run the app on android, android overrides its own style and it looks dirty :rage:.

Looks like this in android:

So, here i want to display actual styles provided by ionic in given link.

Thank You.

Ionic dropdown style overriden by Android


Error in push notification

$
0
0

yes, thats what I said.

I use 1.10.4 for ios and 1.8.4 for android

Error in push notification

$
0
0

how can i use both in config.xml?

Ionic dropdown style overriden by Android

$
0
0

Thanks, @anicacute09,
for that, I have to learn TypeScript, Angular 2 and then Ionic 2 :slight_smile: and it is a long process.

Temporary I need a fix, surely I will learn ionic 2 in some time.

Ionic dropdown style overriden by Android

$
0
0

I think it was the default UI for dropdown on mobile devices (android, ios)..

IOnic 2 RC1: How to Upload photo from Gallery to server

$
0
0

thanks but can you pls say what all plugin you have used

Unable to create platform iOS using phongap push plugin

$
0
0

@ravi_sojitra issue resolved :smiley:

Thanks for great idea ( FCM) instead of IONIC cloud which is not much feasible for iOS push notification process.

Mine issue fixed when I copied manually .plist file in resources folder which was getting corrupted on build

Only one issue left.

Can you please tell me that is that necessary that we could get notification only on those devices which are registered to https://developer.apple.com/account/ios/device/

Unable to create platform iOS using phongap push plugin

$
0
0

Yeah, we only get notifications to apps registered with developers.apple.com because of .p12 certificates.


Hey i want to upload a image on the click of an camera in ionic2 with the use of .Net web API

$
0
0

Yeah and what of that doesn't work? What are you doing?

Unable to create platform iOS using phongap push plugin

$
0
0

True, but I received just tested rite now. as I sent message using segment.(appid) and it delivered.

I am not using .p12 as .p8 is better way of authentication

Also one thing more in some devices I see null in alert where I put the registered token on app open.
But devices received the notification.

Node 8 and npm 5 are out - Your experience with Ionic?

$
0
0

The issue you are linking to is different, and concerns a bug in npm that saves a Github URL instead of a version number in package.json. Did you encounter this with Ionic and npm5? Shouldn't happen as the version number of node-sass comes from @ionic/app-scripts and is hardcoded there. (See the issue I linked in post #2)

IOnic 2 RC1: How to Upload photo from Gallery to server

$
0
0

@anuj14Preformatted text
can you pelase share the full code of .ts file
because i want to know the type of variable data type you have used
from last 1 week i m trying to slove this but geting not able to come out from this

my email id is Ravirajtiwari20@gmail.com

Ionic tabs - how to disable ios 3d touch peek and pop

Viewing all 228507 articles
Browse latest View live


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