function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bdPeterbdPeter 

Best practices SDK 2.0 and AngularJS-based hybrid app

Currently I am tweaking the source code of the SDK 2.0 to look for index.html in the 'app' instead of 'www' folder. As you know, AngularJS by default is using a folder named 'app'.

 

I am wondering, what is the best way to go forward, rename the folder to 'www' and make what ever adjustments are necessary in Angular, or continue tweaking the source code of the mobile SDK?

 

Is there a chance the www folder in the mobile SDK becomes configurable in the future?

 

Thanks

Peter

Best Answer chosen by Admin (Salesforce Developers) 
akhilesh_sfdcakhilesh_sfdc
Don't think there's anyway to make the www resource folder location configurable. Hopefully, you should be able to rename your folder from app to www.