when internet connection fail user must go to the setting

When the internet connection is disconnected, automaticly user must go to the network configuration settings on Android or ios.

how i do it is there any example about it or anybody know it?

There is no such example at this point, and I’m afraid that you in general can’t forcefully “go to the network configuration settings”.

If there is a way, you will need to implement that using Foreign code and write some Java (for Android) and Objective-C (for iOS).