Soumya Rauth

1

votes
1

answer
343

views

branch.io deeplink not working as expected in ionic 3

I have integrated branch.io deeplink in my ionic 3 application. I have successfully generated the link and the link opens up the app. But, I wanted to open a particular page instead of the homepage of the app. So, I integrated the below code to the desired page: dl(){ // only on devices if (!this.pl...
Soumya Rauth
1

votes
0

answer
163

views

add ionic2 rating in alert controller

I have an alert controller where i want to add the ionic2 rating component. here's my code I am already tried: addRating(){ let body=''; let alert = this.alertCtrl.create({ title: '', subTitle: body, buttons: [ { text: 'Ok', handler: () => { //do something }); }); } }, { text: 'Cancel', role: 'canc...
Soumya Rauth
1

votes
1

answer
41

views

How to get the currently set sounds in android phone with cordova

I am currently working with an ionic 3 alarm app. What I want to achieve is to play the currently set alarm tone of the default android alarm app. There will be no option to set the alarm tone. Rather play the default sound of the android device which is set on the default alarm clock. How can I ach...
Soumya Rauth
1

votes
2

answer
532

views

bringToFront() not working in Lollipop

I have used a search widget in my app. I wanted to bring it in front of everything and I did it and tested it on real device. It worked fine. But when I tested it on a lollipop device, it didn't work. I then came to know that bringToFront() doesn't work well in Lollipop. So I can use setElevation()...
Soumya Rauth
1

votes
1

answer
695

views

Firebase app crash while uploading image

My app needs to upload image to firebase storage and display it in a recyclerView. My first two images displays well on the list. But, as I try to upload the third image, the app crashes and also can't store the image on firebase. Each image size varies from 500KB to 700KB. I also have used android:...
Soumya Rauth
29

votes
7

answer
39.9k

views

What is the purpose of using font: inherit?

I just wanted to know why font: inherit; is used in Cascading Style Sheets.
Soumya Rauth
4

votes
3

answer
15.7k

views

How to add text blink effect in css2 for chrome browser

I set this css properties text-decoration:blink in my css code. Unfortunately it is only working on firefox. There must be a way to show the blinking effect in Crome. You guys must have the answer..
Soumya Rauth
2

votes
3

answer
5.8k

views

Initializing an empty array of struct type in golang

I have initialized a struct : type DayAndTime struct { days string time string } I have initialized an empty set of array of this DayAndTime type: day := []DayAndTime{} And put a value in it: day[0] = DayAndTime{'Monday', '8.00 PM'} But it shows a runtime error: panic: runtime error: invalid memo...
Soumya Rauth
3

votes
1

answer
825

views

Users must have a secure screen-lock set Ionic 2 secure storage

I am trying to replace ionic 2 Storage plugin with SecureStorage. But,in the documentation it is said that 'Users must have a secure screen-lock set'. So I am a bit confused. As it is also said that if the security setting is not sufficient then the app developer should inform the user about the sec...
Soumya Rauth
1

votes
1

answer
802

views

sqlite3_step failure: NOT NULL constraint failed

I am new to ionic 1. I have tested my app in browser and it works fine. I have used sqlite. I have a form. When I left one text input field empty the data is added to the database table. That's exactly what I want. But, it does not work in device. Whenever I left one field empty it shows the below e...
Soumya Rauth
3

votes
1

answer
504

views

sending struct to form field in golang

I have a struct which I have to send to an api and it's a post request. But the input are form field. And the fields contains strings, integer, float and image. I tried to use WriteField function but since this function only takes strings as parameters, I can't process integer and float. How do I d...
Soumya Rauth