Plugins are crashing my app on device but not in simulator.

I’ve been using Playhaven and Vungle in some other apps so I decided to put an older App.

I insert code in my main.lua file;

never mind I figured it out!!!