Configure first-party, third-party, and CDN resource detection for mobile applications