App with a WebView downloading JavaScript

We're an IT solution provider for enterprise customers. We'd like to offer our customer a custom app running on IOS.
  1. The app requires user authorisation and is usable only for our customer's employees

  2. After successful authorisation the app downloads enterprise domain data from our api server into sqlite database on the device

  3. App downloads AngularJS SPA (html and javascript) from our web site

  4. App launches WebView using downloaded html and javascript

  5. WebView is provided with enterprise domain data from the sqlite database stored on the device

  6. App does background sync to download and store on device any new data from our api server

  7. On user command app uses native services like Geolocation or photo camera.

Our app is like a website but with extended offline usability because all the data is stored on device. User can read and enter any enterprise domain data without internet connection.

Is it against any Apple's rule?

You will risk rejection. You might be told to use Enterprise distribution and you're not using any native APIs (it could easily be a simple webapp).

App with a WebView downloading JavaScript
 
 
Q