Software Engineer, Native Mobile
MobilePosted 6 weeks agofrom Glean's own hiring page
- Work type
- On-siteSan Francisco Bay Area
- Experience
- 6+ years
- Pay
- $140k–265k a year
- Posted
- 6 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
About the Role:
Glean is seeking a Senior Software Engineer, Mobile, to accelerate our development of fully native apps for iOS and Android. Today our apps wrap the web app; you will replace them with native Swift/SwiftUI and Kotlin/Jetpack Compose apps, harnessing AI to deliver a new refined and polished mobile experience. You will be responsible for setting strong technical foundations for these new codebases.
You will:
Build the apps
- Build and ship native iOS and Android apps in Swift/SwiftUI and Kotlin/Jetpack Compose.
- Ship user-facing features end to end: search, AI assistant, agents, notifications, and OS integrations such as widgets, App Intents, share extensions, live voice modes and more.
- Build experiences that feel native on each platform, following Apple's Human Interface Guidelines and Google’s Material Design, with strong accessibility, performance, and offline behavior.
- Define the mobile architecture: module boundaries, networking, persistence, concurrency, observability, and performance budgets.
Build the infrastructure
- Own mobile CI/CD: automated builds and tests, code signing, TestFlight and Play Store deployment, phased rollouts, and release health monitoring.
- Set up an AI-native development workflow: an agent-friendly repo, automated test generation, AI-assisted review, and tooling that lets coding agents build, run, and verify mobile changes.
Own enterprise readiness
- Build, sign, and ship enterprise app variants with their own configuration and distribution requirements.
- Own mobile authentication end to end: OAuth 2.0/PKCE, OIDC/SAML SSO, secure token and session handling, and identity-provider policies such as conditional access and device trust.
- Make the apps work in managed and BYOD environments: MDM, MAM, managed app configuration, app protection policies, and Android Enterprise work profiles.
- Design admin-controlled data protection (downloads, sharing, copy/paste, screenshots) with Security and Admin teams, and emit reliable audit events for customer security tooling.
- Represent mobile in enterprise security reviews and validate behavior on real managed and unmanaged devices.
About you:
- 6+ years of software engineering experience, with 4+ years shipping production mobile apps on both iOS and Android.
- Proficiency in Swift or Kotlin with working knowledge of the other, and willingness to develop cross-platform fluency, as you will be responsible for both iOS and Android.
- You have owned mobile CI/CD pipelines and release infrastructure (e.g. Fastlane, Xcode Cloud, GitHub Actions, Gradle, code signing, staged rollouts).
- You use AI coding tools daily to ship faster without lowering the quality bar, and have opinions on structuring a codebase and toolchain so agents work in it effectively.
- Experience with mobile auth: OAuth 2.0/PKCE, OIDC/SAML, MSAL, ASWebAuthenticationSession / Custom Tabs, Keychain and Android Keystore.
- Experience shipping OS integrations (widgets, App Intents / Shortcuts, extensions, background work) on at least one platform.
- Startup mindset: comfortable owning problems end to end, from infra to pixels, in an ambiguous environment.
- Nice to have: migrating a hybrid or cross-platform app to native; shipping in MDM/MAM-managed enterprise environments.
Location:
- This role is hybrid (4 days a week in our Mountain View or San Francisco office)
Compensation & Benefits:
The standard base salary range for this position is $140,000 - $265,000 annually. Compensation offered will be determined by factors such as location, level, job-related knowledge, skills, and experience. Certain roles may be eligible for variable compensation, equity, and benefits.
We offer a comprehensive benefits package including competitive compensation, Medical, Vision, and Dental coverage, generous time-off policy, and the opportunity to contribute to your 401k plan to support your long-term goals. When you join, you'll receive a home office improvement stipend, as well as an annual education and wellness stipends to support your growth and wellbeing. We foster a vibrant company culture through regular events, and provide healthy lunches daily to keep you fueled and focused.
We’re committed to building and sustaining a diverse, inclusive workplace. We strive to attract and retain people with a wide range of backgrounds, experiences, and perspectives, and we do not discriminate on the basis of gender, ethnicity, sexual orientation, religion, civil or family status, age, disability, or race.
#LI-HYBRID
AI-First Mindset at Glean: At Glean, AI fluency is core to how we work and we're committed to ensuring every new hire feels confident integrating AI into their everyday work. As part of the interview process, you'll complete a brief AI-focused exercise or discussion so we can understand how you think about, design, and use AI to drive impact in your role. Feel free to reference any tools, platforms, or workflows you use today — prior Glean experience isn't required. Global Data Privacy Notice for Job Candidates and Applicants: Depending on your location, the General Data Protection Regulation (GDPR), California Consumer Privacy Act (CCPA), or other privacy laws may regulate the way we manage the data of job applicants. Our full notice outlining how data will be processed as part of the application procedure for applicable locations is available in our Privacy Policy. By submitting your application, you are agreeing to our use and processing of your data as required. US applicants and their applications are subject to arbitration of disputes as outlined in our Applicant Arbitration Agreement.By clicking “Submit Application,” I confirm that I have read the Global Data Privacy Notice and the Applicant Arbitration Agreement, and I agree to the terms.
Interested?Software Engineer, Native Mobile at Glean
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Android, iOS, Swift and 6 more
Interview questions for this job
For the skills the ad mentions: Android, iOS, Swift, Kotlin, CI/CD, SwiftUI, Embedded systems, Networking and Test automation.
Explain: View lifecycleAndroid
View lifecycle
Viewclass represents the basic building block for user interface components. A View occupies a rectangular area on the screen and is responsible for drawing and event handling. View is the base class for widgets, which are used to create interactive UI components (buttons, text fields, etc.).Every
Activityhas it’s own lifecycle similarly Views also have a lifecycle. A view which was rendered on the screen must undergo these lifecycle methods to get drawn on the screen correctly.onAttachedToWindow()- Called when the view is attached to a window. This is the phase where the view knows it can be active and has a surface for drawing. So we can start allocating any resources or set up listeners.onFinishInflate()- Called after a view and all of its children has been inflated from XML.onMeasure(int, int)- Called to determine the size requirements for this view and all of its children.onLayout(boolean, int, int, int, int)- Called when this view should assign a size and position to all of its children.onSizeChanged(int, int, int, int)- Called when the size of this view has changed.onDraw(android.graphics.Canvas)- Canvas object generated (or updates) has a list of OpenGL-ES commands (displayList) to send to the GPU. Never create objects inonDraw()as it gets called a number of times.invalidate()- method that insists on force reDrawing of a particular view that we wish to show changes. Needs to be called when there was a change in view’s appearance.requestLayout()- At some point, there is a state change in the view.requestLayout()is the signal to the view system that it needs to recalculate the Measure and Layout phase of the views (measure → layout → draw).onDetachedFromWindow()- This is called when the view is detached from a window. At this point, it no longer has a surface for drawing. This place where you need to stop doing any kind of work that is scheduled or clean up resources that are allocated. This method is called when we call remove view on theViewGroupor when theActivityis destroyed etc.
Links
https://proandroiddev.com/the-life-cycle-of-a-view-in-android-6a2c4665b95e
https://codentrick.com/android-view-lifecycle/
https://medium.com/@sahoosunilkumar/understanding-view-lifecycle-in-android-e42890aab16
https://developer.android.com/reference/android/view/ViewFrom Android Interview Questions (Apache 2.0)
Explain: Factory Method PatterniOS
Factory Method is used to replace class constructors, to abstract and hide objects initialization so that the type can be determined at runtime, and to hide and contain switch/if statements that determine the type of object to be instantiated.
From Awesome iOS Interview (MIT)
Why create "Implicitly Unwrapped Optionals", since that implies you know there's a value?Swift
Before I can describe the use cases for Implicitly Unwrapped Optionals, you should already understand what Optionals and Implicitly Unwrapped Optionals are in Swift. If you do not, I recommend you first read my article on optionals
When To Use An Implicitly Unwrapped Optional
There are two main reasons that one would create an Implicitly Unwrapped Optional. All have to do with defining a variable that will never be accessed when
nilbecause otherwise, the Swift compiler will always force you to explicitly unwrap an Optional.1. A Constant That Cannot Be Defined During Initialization
Every member constant must have a value by the time initialization is complete. Sometimes, a constant cannot be initialized with its correct value during initialization, but it can still be guaranteed to have a value before being accessed.
Using an Optional variable gets around this issue because an Optional is automatically initialized with
niland the value it will eventually contain will still be immutable. However, it can be a pain to be constantly unwrapping a variable that you know for sure is not nil. Implicitly Unwrapped Optionals achieve the same benefits as an Optional with the added benefit that one does not have to explicitly unwrap it everywhere.A great example of this is when a member variable cannot be initialized in a UIView subclass until the view is loaded:
class MyView: UIView { @IBOutlet var button: UIButton! var buttonOriginalWidth: CGFloat! override func awakeFromNib() { self.buttonOriginalWidth = self.button.frame.size.width } }Here, you cannot calculate the original width of the button until the view loads, but you know that
awakeFromNibwill be called before any other method on the view (other than initialization). Instead of forcing the value to be explicitly unwrapped pointlessly all over your class, you can declare it as an Implicitly Unwrapped Optional.2. When Your App Cannot Recover From a Variable Being
nilThis should be extremely rare, but if your app can not continue to run if a variable is
nilwhen accessed, it would be a waste of time to bother testing it fornil. Normally if you have a condition that must absolutely be true for your app to continue running, you would use anassert. An Implicitly Unwrapped Optional has an assert for nil built right into it. Even then, it is often good to unwrap the optional and use a more descriptive assert if it is nil.When Not To Use An Implicitly Unwrapped Optional
1. Lazily Calculated Member Variables
Sometimes you have a member variable that should never be nil, but it cannot be set to the correct value during initialization. One solution is to use an Implicitly Unwrapped Optional, but a better way is to use a lazy variable:
class FileSystemItem { } class Directory : FileSystemItem { lazy var contents : [FileSystemItem] = { var loadedContents = [FileSystemItem]() // load contents and append to loadedContents return loadedContents }() }Now, the member variable
contentsis not initialized until the first time it is accessed. This gives the class a chance to get into the correct state before calculating the initial value.Note: This may seem to contradict #1 from above. However, there is an important distinction to be made. The
buttonOriginalWidthabove must be set during viewDidLoad to prevent anyone changing the buttons width before the property is accessed.2. Everywhere Else
For the most part, Implicitly Unwrapped Optionals should be avoided because if used mistakenly, your entire app will crash when it is accessed while
nil. If you are ever not sure about whether a variable can be nil, always default to using a normal Optional. Unwrapping a variable that is nevernilcertainly doesn't hurt very much.From Stack Overflow: asked by Johnston, answered by drewag (CC BY-SA 3.0)
Describe nullability and null safetyKotlin
Describe nullability and null safety
Nullability is the ability of a variable to hold a
nullvalue. When a variable containsnull, an attempt to dereference the variable leads to aNullPointerException. There are many ways to write code in order to minimize the probability of receiving null pointer exceptions.Support for nullable types
The most important difference between Kotlin's and Java's type systems is Kotlin's explicit support for nullable types. It is a way to indicate which variables can possibly hold a
nullvalue. If a variable can benull, it's not safe to call a method on the variable because this can cause aNullPointerException. Kotlin prohibits such calls at compile time and thereby prevents lots of possible exceptions. At runtime, objects of nullable types and objects of non-nullable types are treated the same: A nullable type isn't a wrapper for a non-nullable type. All checks are performed at compile time. That means there's almost no runtime overhead for working with nullable types in Kotlin.In Java, if you don't write null checks, methods may throw a
NullPointerException:// Java int stringLength(String a) { return a.length(); } void main() { stringLength(null); // Throws a `NullPointerException` }This call will have the following output:
java.lang.NullPointerException: Cannot invoke "String.length()" because "a" is null at test.java.Nullability.stringLength(Nullability.java:8) at test.java.Nullability.main(Nullability.java:12) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)In Kotlin, all regular types are non-nullable by default unless you explicitly mark them as nullable. If you don't expect a to be
null, declare thestringLength()function as follows:// Kotlin fun stringLength(a: String) = a.lengthThe parameter
ahas theStringtype, which in Kotlin means it must always contain aStringinstance and it cannot containnull. Nullable types in Kotlin are marked with a question mark?, for example,String?. The situation with aNullPointerExceptionat runtime is impossible ifaisStringbecause the compiler enforces the rule that all arguments ofstringLength()not benull.An attempt to pass a
nullvalue to thestringLength(a: String)function will result in a compile-time error, "Null can not be a value of a non-null type String":If you want to use this function with any arguments, including
null, use a question mark after the argument typeString?and check inside the function body to ensure that the value of the argument is notnull:// Kotlin fun stringLength(a: String?): Int = if (a != null) a.length else 0After the check is passed successfully, the compiler treats the variable as if it were of the non-nullable type
Stringin the scope where the compiler performs the check.Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)
How to define variable in Jenkins declarative pipeline?CI/CD
The variable must be defined in a
scriptsection.pipeline { agent none stages { stage("first") { steps { script { foo = "bar" } sh "echo ${foo}" } } } }From DevOps Stack Exchange: asked by Jay, answered by plmaheu (CC BY-SA 4.0)
When have you faced a challenging situation?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior Android Software EngineerClera, San Francisco Bay Area, on-siteToday
- Staff Software Engineer - iOS SDKAmplitude, Remote, San Francisco Bay AreaYesterday
- Software Engineer, X Core ProductSpaceX, San Francisco Bay Area, on-site5 days ago
- Android Engineer, GrowthOpenAI, Remote, San Francisco Bay Area3 weeks ago
More like this: Mobile developer jobs in San Francisco Bay Area (40), Jobs in San Francisco Bay Area (9,193) and Mobile developer jobs in the USA (149)



