-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Settings bundle #1379
Remove Settings bundle #1379
Conversation
@@ -15,11 +14,11 @@ | |||
4FD6C49F1B755242002F9F90 /* RootViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FD6C49C1B755242002F9F90 /* RootViewController.swift */; }; | |||
4FD6C4A01B755242002F9F90 /* InitialViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FD6C49D1B755242002F9F90 /* InitialViewController.swift */; }; | |||
C77FD628010EF64B9B2C4363 /* libPods-__NativeSwiftTemplateAppName__.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9737303E047BCEC3E2EC6AE5 /* libPods-__NativeSwiftTemplateAppName__.a */; }; | |||
E1CE60881C655FE6007D6DCB /* SalesforceSDKAssets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E1CE60871C655FE6007D6DCB /* SalesforceSDKAssets.xcassets */; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding SDK Assets as part of the template app.
Settings.bundle and Images.xcassets are in shared/resources. |
Also is the settings.bundle removed from all the sample apps? |
@wmathurin I will modify the way I have copied the SalesforceSDKAssets.xcassets. I removed the settings bundle from RestAPIExplorer, SmartSyncExplorer, SmartSyncExplorerHybrid, AccountEditor, NoteSync. Am I missing any sample app? Also, I was able to create a sample app using forceios, all 3 flavors - native, native_swift, and native_react and see my changes for the login view controller. |
Those are all the sample apps we have in the iOS repo. |
@@ -0,0 +1,23 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As @wmathurin mentioned, we probably want these to be symlinks to a common shared folder like Settings.bundle
is/was.
I believe we have some special logic in |
Two places I see where the Settings bundle is still referenced:
|
So as @bhariharan mentions, there are some other areas of the SDK that we should clean up, in correlation with the removal of support for the Settings bundle login settings. SFUserAccountManagerThere are sections of support around the login host, for querying that value from the Settings app. In particular, SalesforceSDKManager
|
@khawkins Thanks for the pointers. I will refactor the code in those two places. |
@kchitalia Sure thing, let me know if you run into any questions with that, as I know my description is a bit open-ended. I forgot one related method:
Up to and including those constants, can go away. And to be clear, |
No description provided.