ForeFlight with IF not working anymore

I had Wifi on, Bluetooth on, but my iPad still can’t connect with my foreflight on iPhone. What is going wrong?

Have you enabled Connect To Foreflight from IF settings?

yes I did.