Updated native template and updated forceios.js for smart sync