I have an application with
Contacts screen where you can find a list of contacts. Each contact could have one number or multiple numbers. In
Contacts screen next to the name of each contact I added a
call icon and you can press on it to call that contact.
Here is the magic question.
How can I implement the best way to offer you a great experience when you want to select one of multiple phones numbers of contact?
Now I use this modal implementation but it looks very strange because on iOS it is full-screen and I can’t change this. The point is I want to change this modal implementation with a better one, the best one.
What I did until now ?
I tried with some plugins like
nativescript-cfalert-dialog but :
- I would like to use these plugins (just one, not both at the same time) because offer you a better experience on both platforms. It looks similar to iOS and Android.
- It could be customized and used an entire project for the same experience everywhere in the app.
nativescript-fancy-alertdoesn’t have support for alerts with lists in Android
nativescript-cfalert-dialogdoesn’t have support for alerts with lists in iOS
This was my first idea but I can’t customise the content of each option and I’d like to have inside of each option just :
- phone number
- type of phone number
If I can’t find any other solution, I’ll implement this idea with this template
as a message of option but I’d like to find a smart way.
I found a new action dialog in iOS and I think it would be perfect. It’s about an action dialog like the dialog above but this one has some new features
This is my best way to make an action dialog in my application but I don’t know how can I do that.
Let me know if we can do that on Android too or if you know something similar to Android.
Thanks in advance for any ideas!