Software Engineer, Mobile SDK
MobilePosted over 2 months agofrom Cloudflare's own hiring page
- Work type
- HybridAustin
- Experience
- Not stated
- Pay
- Not listedUsually $99k a yearMobile, median, all levels, in the US (Payscale)
- Posted
- Over 2 months agoOpen 2 months
Skills it mentions
Nice to have
Add your skills to see which ones you have.
About the job
About Us
At Cloudflare, we are on a mission to help build a better Internet. Today the company runs one of the world’s largest networks that powers millions of websites and other Internet properties for customers ranging from individual bloggers to SMBs to Fortune 500 companies. Cloudflare protects and accelerates any Internet application online without adding hardware, installing software, or changing a line of code. Internet properties powered by Cloudflare all have web traffic routed through its intelligent global network, which gets smarter with every request. As a result, they see significant improvement in performance and a decrease in spam and other attacks. Cloudflare was named to Entrepreneur Magazine’s Top Company Cultures list and ranked among the World’s Most Innovative Companies by Fast Company.
At Cloudflare, we’re not looking for people who wait for a polished roadmap; we’re looking for the builders who see the cracks in the Internet that everyone else has simply learned to live with. We value candidates who have the instinct to spot a "normalized" problem and the AI-native curiosity to create a solution using the latest tools. Our culture is built on iteration, leveraging AI to ship faster today to make it better tomorrow, while ensuring that every improvement, no matter how small, is shared across the team to lift everyone up. If you’re the type of person who values curiosity over bureaucracy, and that AI is a partner in solving tough problems to keep the Internet moving forward, you’ll fit right in.
Available Locations: Austin, TX
What you'll do
We're looking for a Senior Software Engineer to join our WARP Mobile SDK team to help build the future of our mobile security SDKs.
Responsibilities
In this role, you will define the client architecture and public APIs for native iOS and Android SDKs, working from deep expertise in at least one of those ecosystems. You will establish foundations that are testable, well-documented, lightweight, and straightforward for customer engineering teams to integrate and operate.
As a senior software engineer, you will set standards for compatibility, diagnostics, performance, and release quality across mobile platforms. You will work closely with product and engineering partners to turn a security problem into a dependable developer product, mentor native mobile engineers, and help resolve complex customer integration issues. You will be successful in this role if you combine strong native engineering judgment and a track record of carrying distributed software from design through production operation.
Desirable Skills, Knowledge, and Experience:
- Deep experience building production software for either iOS with Swift or Android with Kotlin, and enough familiarity with the other ecosystem to guide shared architectural decisions
- Experience designing or owning customer-distributed SDKs, libraries, or similarly constrained developer-facing products
- Experience with mobile platform security concepts, including app and device integrity, secure key storage, application signing, authentication, and secure communications
- Familiarity with native mobile networking stacks, HTTP APIs, and the integration challenges introduced by different application architectures and networking libraries
- Experience diagnosing production issues that cross application, SDK, network, and service boundaries, while designing safe diagnostics that do not expose sensitive data
- Understanding of mobile package distribution, source and binary compatibility, dependency management, and reliable release practices
- Experience writing technical designs and aligning decisions across product, client, backend, edge, and security teams
- Experience mentoring engineers and raising a team's technical bar through design review, code review, and knowledge sharing
- Empathetic, proactive, and constructive written and verbal communication skills
- Proven ability to operate within strict mobile performance budgets, including binary size, battery use, startup time, and main-thread overhead
Bonus Points:
- Familiarity with how native SDKs are consumed by cross-platform frameworks such as React Native and Flutter is a plus
- Familiarity with lower-level languages like C++ or Rust for high-performance, cross-platform security modules is a plus
Compensation
Compensation may be adjusted depending on work location.
Equity
This role is eligible to participate in Cloudflare’s equity plan.
Benefits
Cloudflare offers a complete package of benefits and programs to support you and your family. Our benefits programs can help you pay health care expenses, support caregiving, build capital for the future and make life a little easier and fun! The below is a description of our benefits for employees in the United States, and benefits may vary for employees based outside the U.S.
Health & Welfare Benefits
- Medical/Rx Insurance
- Dental Insurance
- Vision Insurance
- Flexible Spending Accounts
- Commuter Spending Accounts
- Fertility & Family Forming Benefits
- On-demand mental health support and Employee Assistance Program
- Global Travel Medical Insurance
Financial Benefits
- Short and Long Term Disability Insurance
- Life & Accident Insurance
- 401(k) Retirement Savings Plan
- Employee Stock Participation Plan
Time Off
- Flexible paid time off covering vacation and sick leave
- Leave programs, including parental, pregnancy health, medical, and bereavement leave
What Makes Cloudflare Special?
We’re not just a highly ambitious, large-scale technology company. We’re a highly ambitious, large-scale technology company with a soul. Fundamental to our mission to help build a better Internet is protecting the free and open Internet.
Project Galileo: Since 2014, we've equipped more than 2,400 journalism and civil society organizations in 111 countries with powerful tools to defend themselves against attacks that would otherwise censor their work, technology already used by Cloudflare’s enterprise customers--at no cost.
Athenian Project: In 2017, we created the Athenian Project to ensure that state and local governments have the highest level of protection and reliability for free, so that their constituents have access to election information and voter registration. Since the project, we've provided services to more than 425 local government election websites in 33 states.
1.1.1.1: We released 1.1.1.1 to help fix the foundation of the Internet by building a faster, more secure and privacy-centric public DNS resolver. This is available publicly for everyone to use - it is the first consumer-focused service Cloudflare has ever released. Here’s the deal - we don’t store client IP addresses never, ever. We will continue to abide by our privacy commitment and ensure that no user data is sold to advertisers or used to target consumers.
Sound like something you’d like to be a part of? We’d love to hear from you!
Please note that applicants who progress to the offer stage of the interview process may be asked to attend an in-person interview within one of the Cloudflare Offices or Cloudflare Hubs. More details about this will be available at that stage of the interview process.
This position may require access to information protected under U.S. export control laws, including the U.S. Export Administration Regulations. Please note that any offer of employment may be conditioned on your authorization to receive software or technology controlled under these U.S. export laws without sponsorship for an export license.
Cloudflare is proud to be an equal opportunity employer. We are committed to providing equal employment opportunity for all people and place great value in both diversity and inclusiveness. All qualified applicants will be considered for employment without regard to their, or any other person's, perceived or actual race, color, religion, sex, gender, gender identity, gender expression, sexual orientation, national origin, ancestry, citizenship, age, physical or mental disability, medical condition, family care status, or any other basis protected by law. We are an AA/Veterans/Disabled Employer.
Cloudflare provides reasonable accommodations to qualified individuals with disabilities. Please tell us if you require a reasonable accommodation to apply for a job. Examples of reasonable accommodations include, but are not limited to, changing the application process, providing documents in an alternate format, using a sign language interpreter, or using specialized equipment. If you require a reasonable accommodation to apply for a job, please contact us via e-mail at hr@cloudflare.com or via mail at 101 Townsend St. San Francisco, CA 94107.
Interested?Software Engineer, Mobile SDK at Cloudflare
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on iOS, Android, Networking and 6 more
Interview questions for this job
For the skills the ad mentions: iOS, Android, Networking, Swift, Kotlin, React Native, Flutter, C++ and Rust.
Consider the following code:iOS
Task:
var defaults = UserDefaults.standard() var userPref = defaults.stringForKey("userPref")! printString(userPref) func printString(string: String) { print(string) }Solution: The second line uses the stringForKey method of UserDefaults, which returns an optional, to account for the key not being found, or for the corresponding value not being convertible to a string.
During its execution, if the key is found and the corresponding value is a string, the above code works correctly. But if the key doesn’t exist, or the corresponding value is not a string, the app crashes with the following error:
fatal error: unexpectedly found nil while unwrapping an Optional value The reason is that the forced unwrapping operator ! is attempting to force unwrap a value from a nil optional. The forced unwrapping operator should be used only when an optional is known to contain a non-nil value.
The solution consists of making sure that the optional is not nil before force-unwrapping it:
let userPref = defaults.stringForKey("userPref") if userPref != nil { printString(userPref!) }From Awesome iOS Interview (MIT)
What do you know about Intent Filter?Android
Intent Filter
An intent filter is an expression in an app's manifest file that specifies the type of intents that the component would like to receive. For instance, by declaring an intent filter for an activity, you make it possible for other apps to directly start your activity with a certain kind of intent. Likewise, if you do not declare any intent filters for an activity, then it can be started only with an explicit intent.1
An app component can have any number of intent filters (defined with the
<intent-filter>element), each one describing a different capability of that component.2<intent-filter>Syntax:
<intent-filter android:icon="drawable resource" android:label="string resource" android:priority="integer" > ... </intent-filter>Contained in:
<activity>;<activity-alias>;<service>;<receiver>;<provider>.
Must contain:
<action>.
Can contain:
<category>;<data>.
Attributes:
-
android:icon. An icon that represents the parent activity, service, or broadcast receiver when that component is presented to the user as having the capability described by the filter.This attribute is set as a reference to a drawable resource containing the image definition. The default value is the icon set by the parent component's
iconattribute. If the parent doesn't specify an icon, the default is the icon set by the<application>element. -
android:label. A user-readable label for the parent component. This label, rather than the one set by the parent component, is used when the component is presented to the user as having the capability described by the filter.The label is set as a reference to a string resource so that it can be localized like other strings in the user interface. However, as a convenience while you're developing the application, it can also be set as a raw string.
The default value is the label set by the parent component. If the parent doesn't specify a label, the default is the label set by the
<application>element'slabelattribute. -
android:priority. The priority given to the parent component with regard to handling intents of the type described by the filter. This attribute has meaning for both activities and broadcast receivers.Use this attribute only if you need to impose a specific order in which the broadcasts are received or want to force Android to prefer one activity over others.
-
android:order. The order in which the filter is processed when multiple filters match.orderdiffers frompriorityin thatpriorityapplies across apps, while order disambiguates multiple matching filters in a single app. When multiple filters can match, use a directed intent instead. Introduced in API level 28. -
android:autoVerify. Whether Android needs to verify that the Digital Asset Links JSON file from the specified host matches this application. Introduced in API level 23.
Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)
How do you calculate the prefix, network, subnet, and host numbers?Networking
Calculating the Netmask Length (also called a prefix):
Convert the dotted-decimal representation of the netmask to binary. Then, count the number of contiguous 1 bits, starting at the most significant bit in the first octet (i.e. the left-hand-side of the binary number).
255.255.248.0 in binary: 11111111 11111111 11111000 00000000 ----------------------------------- I counted twenty-one 1s -------> /21The prefix of 128.42.5.4 with a 255.255.248.0 netmask is /21.
Calculating the Network Address:
The network address is the logical AND of the respective bits in the binary representation of the IP address and network mask. Align the bits in both addresses, and perform a logical AND on each pair of the respective bits. Then convert the individual octets of the result back to decimal.
Logical AND truth table:
128.42.5.4 in binary: 10000000 00101010 00000101 00000100 255.255.248.0 in binary: 11111111 11111111 11111000 00000000 ----------------------------------- [Logical AND] 10000000 00101010 00000000 00000000 ------> 128.42.0.0As you can see, the network address of 128.42.5.4/21 is 128.42.0.0
Calculating the Broadcast Address:
The broadcast address converts all host bits to 1s...
Remember that our IP address in decimal is:
128.42.5.4 in binary: 10000000 00101010 00000101 00000100The network mask is:
255.255.248.0 in binary: 11111111 11111111 11111000 00000000This means our host bits are the last 11 bits of the IP address, because we find the host mask by inverting the network mask:
Host bit mask : 00000000 00000000 00000hhh hhhhhhhhTo calculate the broadcast address, we force all host bits to be 1s:
128.42.5.4 in binary: 10000000 00101010 00000101 00000100 Host bit mask : 00000000 00000000 00000hhh hhhhhhhh ----------------------------------- [Force host bits] 10000000 00101010 00000111 11111111 ----> 128.42.7.255Calculating subnets:
You haven't given enough information to calculate subnets for this network; as a general rule you build subnets by reallocating some of the host bits as network bits for each subnet. Many times there isn't one right way to subnet a block... depending on your constraints, there could be several valid ways to subnet a block of addresses.
Let's assume we will break 128.42.0.0/21 into 4 subnets that must hold at least 100 hosts each...
In this example, we know that you need at least a /25 prefix to contain 100 hosts; I chose a /24 because it falls on an octet boundary. Notice that the network address for each subnet borrows host bits from the parent network block.
Finding the required subnet masklength or netmask:
How did I know that I need at least a /25 masklength for 100 hosts? Calculate the prefix by backing into the number of host bits required to contain 100 hosts. One needs 7 host bits to contain 100 hosts. Officially this is calculated with:
Host bits = Log2(Number-of-hosts) = Log2(100) = 6.643
Since IPv4 addresses are 32 bits wide, and we are using the host bits (i.e. least significant bits), simply subtract 7 from 32 to calculate the minimum subnet prefix for each subnet... 32 - 7 = 25.
The lazy way to break 128.42.0.0/21 into four equal subnets:
Since we only want four subnets from the whole 128.42.0.0/21 block, we could use /23 subnets. I chose /23 because we need 4 subnets... i.e. an extra two bits added to the netmask.
This is an equally-valid answer to the constraint, using /23 subnets of 128.42.0.0/21...
Calculating the host number:
This is what we've already done above... just reuse the host mask from the work we did when we calculated the broadcast address of 128.42.5.4/21... This time I'll use 1s instead of
h, because we need to perform a logical AND on the network address again.Read the rest at the sourceFrom Network Engineering Stack Exchange: asked by user5032, answered by Mike Pennington (CC BY-SA 4.0)
Why Choose Struct Over Class?Swift
According to the very popular WWDC 2015 talk Protocol Oriented Programming in Swift (video, transcript), Swift provides a number of features that make structs better than classes in many circumstances.
Structs are preferable if they are relatively small and copiable because copying is way safer than having multiple references to the same instance as happens with classes. This is especially important when passing around a variable to many classes and/or in a multithreaded environment. If you can always send a copy of your variable to other places, you never have to worry about that other place changing the value of your variable underneath you.
With Structs, there is much less need to worry about memory leaks or multiple threads racing to access/modify a single instance of a variable. (For the more technically minded, the exception to that is when capturing a struct inside a closure because then it is actually capturing a reference to the instance unless you explicitly mark it to be copied).
Classes can also become bloated because a class can only inherit from a single superclass. That encourages us to create huge superclasses that encompass many different abilities that are only loosely related. Using protocols, especially with protocol extensions where you can provide implementations to protocols, allows you to eliminate the need for classes to achieve this sort of behavior.
The talk lays out these scenarios where classes are preferred:
- Copying or comparing instances doesn't make sense (e.g.,
Window) - Instance lifetime is tied to external effects (e.g.,
TemporaryFile) - Instances are just "sinks"--write-only conduits to external state (e.g.,
CGContext)
It implies that structs should be the default and classes should be a fallback.
On the other hand, The Swift Programming Language documentation is somewhat contradictory:
Structure instances are always passed by value, and class instances are always passed by reference. This means that they are suited to different kinds of tasks. As you consider the data constructs and functionality that you need for a project, decide whether each data construct should be defined as a class or as a structure.
As a general guideline, consider creating a structure when one or more of these conditions apply:
- The structure’s primary purpose is to encapsulate a few relatively simple data values.
- It is reasonable to expect that the encapsulated values will be copied rather than referenced when you assign or pass around an instance of that structure.
- Any properties stored by the structure are themselves value types, which would also be expected to be copied rather than referenced.
- The structure does not need to inherit properties or behavior from another existing type.
Examples of good candidates for structures include:
- The size of a geometric shape, perhaps encapsulating a width property and a height property, both of type Double.
- A way to refer to ranges within a series, perhaps encapsulating a start property and a length property, both of type Int.
- A point in a 3D coordinate system, perhaps encapsulating x, y and z properties, each of type Double.
In all other cases, define a class, and create instances of that class to be managed and passed by reference. In practice, this means that most custom data constructs should be classes, not structures.
Read the rest at the sourceFrom Stack Overflow: asked by bluedevil2k, answered by drewag (CC BY-SA 4.0)
- Copying or comparing instances doesn't make sense (e.g.,
What does 'by' keyword do in Kotlin?Kotlin
In simple terms, you can understand the
bykeyword as provided by.From the perspective of a property's consumer, a
valis something that has a getter (get) and avaris something that has both a getter and a setter (get, set). For eachvarproperty there is a default provider of get and set methods that we don't need to specify explicitly.But, when using
bykeyword, you are stating that this getter/getter&setter is provided elsewhere (i.e. it's been delegated). It's provided by the function that comes afterby.So, instead of using these built-in get and set methods, you are delegating that job to some explicit function.
One very common example is using
by lazyto lazy-load properties. Also, if you are using a dependency injection library like Koin, you'll see many properties defined like this:var myRepository: MyRepository by inject() //`inject` is a function from KoinClass definitions follow the same principle. They define where some function is provided, but the
bycan refer to any methods/properties, not justgetandset.class MyClass: SomeInterface by SomeImplementation, SomeOtherInterfaceThis code is saying:
"I am class
MyClassand I offer functions from the interfaceSomeInterfacewhich are provided bySomeImplementation.I'll implement
SomeOtherInterfaceby myself (that's implicit, so nobythere)."From Stack Overflow: asked by Mark, answered by daneejela (CC BY-SA 4.0)
Have you ever failed at a task?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
- Technical Support Engineer - MobileIterable, Remote, Boston +42 days ago
- Engineering Capability Leader – Digital ServicesFrost Bank, Austin, Dallas +1, on-site3 weeks ago
- Senior Android Software EngineerClera, San Francisco Bay Area, on-siteToday
- Flutter DeveloperHivex, Remote, worldwideToday
More like this: Jobs in Austin (1,472) and Mobile developer jobs in the USA (149)



