@stripe/stripe-react-native 0.52.0-crypto-onramp-2-private-beta.2 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/android/.idea/caches/deviceStreaming.xml +0 -13
  2. package/android/.idea/gradle.xml +1 -0
  3. package/android/.idea/misc.xml +1 -1
  4. package/android/build.gradle +0 -14
  5. package/android/gradle.properties +1 -1
  6. package/android/local.properties +2 -2
  7. package/android/src/main/java/com/reactnativestripesdk/EmbeddedPaymentElementView.kt +48 -25
  8. package/android/src/main/java/com/reactnativestripesdk/EmbeddedPaymentElementViewManager.kt +2 -0
  9. package/android/src/main/java/com/reactnativestripesdk/PaymentLauncherFragment.kt +1 -1
  10. package/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt +14 -13
  11. package/android/src/main/java/com/reactnativestripesdk/StripeSdkPackage.kt +1 -19
  12. package/android/src/main/java/com/reactnativestripesdk/utils/Errors.kt +0 -10
  13. package/android/src/main/java/com/reactnativestripesdk/utils/Mappers.kt +3 -12
  14. package/android/src/oldarch/java/com/facebook/react/viewmanagers/ApplePayButtonManagerDelegate.java +0 -12
  15. package/android/src/oldarch/java/com/facebook/react/viewmanagers/ApplePayButtonManagerInterface.java +0 -4
  16. package/android/src/oldarch/java/com/reactnativestripesdk/NativeStripeSdkModuleSpec.java +4 -4
  17. package/ios/Mappers.swift +1 -134
  18. package/ios/OldArch/StripeSdkEventEmitterCompat.h +0 -1
  19. package/ios/OldArch/StripeSdkEventEmitterCompat.m +1 -7
  20. package/ios/StripeSdk.mm +7 -0
  21. package/ios/StripeSdkEmitter.swift +0 -4
  22. package/ios/StripeSdkImpl.swift +13 -584
  23. package/lib/commonjs/components/AddToWalletButton.js +1 -1
  24. package/lib/commonjs/components/AddToWalletButton.js.map +1 -1
  25. package/lib/commonjs/components/AddressSheet.js +1 -1
  26. package/lib/commonjs/components/AddressSheet.js.map +1 -1
  27. package/lib/commonjs/components/AuBECSDebitForm.js +1 -1
  28. package/lib/commonjs/components/AuBECSDebitForm.js.map +1 -1
  29. package/lib/commonjs/components/CardField.js +1 -1
  30. package/lib/commonjs/components/CardField.js.map +1 -1
  31. package/lib/commonjs/components/CardForm.js +1 -1
  32. package/lib/commonjs/components/CardForm.js.map +1 -1
  33. package/lib/commonjs/components/PlatformPayButton.js +1 -1
  34. package/lib/commonjs/components/PlatformPayButton.js.map +1 -1
  35. package/lib/commonjs/components/StripeContainer.js +1 -1
  36. package/lib/commonjs/components/StripeContainer.js.map +1 -1
  37. package/lib/commonjs/components/StripeProvider.js +1 -1
  38. package/lib/commonjs/components/StripeProvider.js.map +1 -1
  39. package/lib/commonjs/events.js +1 -1
  40. package/lib/commonjs/events.js.map +1 -1
  41. package/lib/commonjs/functions.js +1 -1
  42. package/lib/commonjs/functions.js.map +1 -1
  43. package/lib/commonjs/index.js +1 -1
  44. package/lib/commonjs/index.js.map +1 -1
  45. package/lib/commonjs/plugin/withStripe.js +1 -1
  46. package/lib/commonjs/plugin/withStripe.js.map +1 -1
  47. package/lib/commonjs/specs/NativeStripeSdkModule.js.map +1 -1
  48. package/lib/commonjs/types/EmbeddedPaymentElement.js +1 -1
  49. package/lib/commonjs/types/EmbeddedPaymentElement.js.map +1 -1
  50. package/lib/commonjs/types/Errors.js +1 -1
  51. package/lib/commonjs/types/Errors.js.map +1 -1
  52. package/lib/commonjs/types/PlatformPay.js.map +1 -1
  53. package/lib/commonjs/types/index.js +1 -1
  54. package/lib/commonjs/types/index.js.map +1 -1
  55. package/lib/module/components/AddToWalletButton.js +1 -1
  56. package/lib/module/components/AddToWalletButton.js.map +1 -1
  57. package/lib/module/components/AddressSheet.js +1 -1
  58. package/lib/module/components/AddressSheet.js.map +1 -1
  59. package/lib/module/components/AuBECSDebitForm.js +1 -1
  60. package/lib/module/components/AuBECSDebitForm.js.map +1 -1
  61. package/lib/module/components/CardField.js +1 -1
  62. package/lib/module/components/CardField.js.map +1 -1
  63. package/lib/module/components/CardForm.js +1 -1
  64. package/lib/module/components/CardForm.js.map +1 -1
  65. package/lib/module/components/PlatformPayButton.js +1 -1
  66. package/lib/module/components/PlatformPayButton.js.map +1 -1
  67. package/lib/module/components/StripeContainer.js +1 -1
  68. package/lib/module/components/StripeContainer.js.map +1 -1
  69. package/lib/module/components/StripeProvider.js +1 -1
  70. package/lib/module/components/StripeProvider.js.map +1 -1
  71. package/lib/module/events.js +1 -1
  72. package/lib/module/events.js.map +1 -1
  73. package/lib/module/functions.js +1 -1
  74. package/lib/module/functions.js.map +1 -1
  75. package/lib/module/index.js +1 -1
  76. package/lib/module/index.js.map +1 -1
  77. package/lib/module/plugin/withStripe.js +1 -1
  78. package/lib/module/plugin/withStripe.js.map +1 -1
  79. package/lib/module/specs/NativeStripeSdkModule.js.map +1 -1
  80. package/lib/module/types/EmbeddedPaymentElement.js +1 -1
  81. package/lib/module/types/EmbeddedPaymentElement.js.map +1 -1
  82. package/lib/module/types/Errors.js +1 -1
  83. package/lib/module/types/Errors.js.map +1 -1
  84. package/lib/module/types/PlatformPay.js.map +1 -1
  85. package/lib/module/types/index.js +1 -1
  86. package/lib/module/types/index.js.map +1 -1
  87. package/lib/typescript/src/components/StripeProvider.d.ts.map +1 -1
  88. package/lib/typescript/src/events.d.ts +0 -3
  89. package/lib/typescript/src/events.d.ts.map +1 -1
  90. package/lib/typescript/src/functions.d.ts +1 -0
  91. package/lib/typescript/src/functions.d.ts.map +1 -1
  92. package/lib/typescript/src/index.d.ts +0 -1
  93. package/lib/typescript/src/index.d.ts.map +1 -1
  94. package/lib/typescript/src/plugin/withStripe.d.ts +0 -15
  95. package/lib/typescript/src/plugin/withStripe.d.ts.map +1 -1
  96. package/lib/typescript/src/specs/NativeStripeSdkModule.d.ts +1 -0
  97. package/lib/typescript/src/specs/NativeStripeSdkModule.d.ts.map +1 -1
  98. package/lib/typescript/src/types/EmbeddedPaymentElement.d.ts +1 -0
  99. package/lib/typescript/src/types/EmbeddedPaymentElement.d.ts.map +1 -1
  100. package/lib/typescript/src/types/Errors.d.ts +0 -5
  101. package/lib/typescript/src/types/Errors.d.ts.map +1 -1
  102. package/lib/typescript/src/types/PlatformPay.d.ts +7 -1
  103. package/lib/typescript/src/types/PlatformPay.d.ts.map +1 -1
  104. package/lib/typescript/src/types/index.d.ts +1 -7
  105. package/lib/typescript/src/types/index.d.ts.map +1 -1
  106. package/package.json +21 -2
  107. package/src/components/StripeProvider.tsx +0 -9
  108. package/src/events.ts +0 -22
  109. package/src/functions.ts +11 -0
  110. package/src/index.tsx +0 -1
  111. package/src/plugin/withStripe.ts +7 -104
  112. package/src/specs/NativeStripeSdkModule.ts +2 -0
  113. package/src/types/EmbeddedPaymentElement.tsx +7 -0
  114. package/src/types/Errors.ts +0 -6
  115. package/src/types/PlatformPay.ts +7 -1
  116. package/src/types/index.ts +0 -8
  117. package/stripe-react-native.podspec +8 -21
  118. package/.clang-format +0 -90
  119. package/.claude/settings.local.json +0 -11
  120. package/.editorconfig +0 -18
  121. package/.husky/pre-commit +0 -1
  122. package/.idea/GitLink.xml +0 -6
  123. package/.idea/codeStyles/Project.xml +0 -162
  124. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  125. package/.idea/misc.xml +0 -851
  126. package/.idea/modules.xml +0 -8
  127. package/.idea/stripe-react-native.iml +0 -9
  128. package/.idea/vcs.xml +0 -6
  129. package/.vscode/settings.json +0 -3
  130. package/CHANGELOG.md +0 -931
  131. package/CLAUDE.md +0 -148
  132. package/android/.gradle/8.11.1/checksums/checksums.lock +0 -0
  133. package/android/.gradle/8.11.1/executionHistory/executionHistory.bin +0 -0
  134. package/android/.gradle/8.11.1/executionHistory/executionHistory.lock +0 -0
  135. package/android/.gradle/8.11.1/fileChanges/last-build.bin +0 -0
  136. package/android/.gradle/8.11.1/fileHashes/fileHashes.bin +0 -0
  137. package/android/.gradle/8.11.1/fileHashes/fileHashes.lock +0 -0
  138. package/android/.gradle/8.11.1/gc.properties +0 -0
  139. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  140. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  141. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  142. package/android/.gradle/file-system.probe +0 -0
  143. package/android/.gradle/vcs-1/gc.properties +0 -0
  144. package/android/.idea/AndroidProjectSystem.xml +0 -6
  145. package/android/.idea/GitLink.xml +0 -6
  146. package/android/.idea/appInsightsSettings.xml +0 -23
  147. package/android/src/main/java/com/reactnativestripesdk/FakeOnrampSdkModule.kt +0 -138
  148. package/android/src/oldarch/java/com/reactnativestripesdk/NativeOnrampSdkModuleSpec.java +0 -110
  149. package/android/src/onramp/java/com/reactnativestripesdk/OnrampSdkModule.kt +0 -844
  150. package/ios/StripeOnrampSdk.h +0 -17
  151. package/ios/StripeOnrampSdk.mm +0 -144
  152. package/lib/commonjs/hooks/useOnramp.js +0 -2
  153. package/lib/commonjs/hooks/useOnramp.js.map +0 -1
  154. package/lib/commonjs/specs/NativeOnrampSdkModule.js +0 -2
  155. package/lib/commonjs/specs/NativeOnrampSdkModule.js.map +0 -1
  156. package/lib/commonjs/types/Onramp.js +0 -2
  157. package/lib/commonjs/types/Onramp.js.map +0 -1
  158. package/lib/module/hooks/useOnramp.js +0 -2
  159. package/lib/module/hooks/useOnramp.js.map +0 -1
  160. package/lib/module/specs/NativeOnrampSdkModule.js +0 -2
  161. package/lib/module/specs/NativeOnrampSdkModule.js.map +0 -1
  162. package/lib/module/types/Onramp.js +0 -2
  163. package/lib/module/types/Onramp.js.map +0 -1
  164. package/lib/typescript/src/hooks/useOnramp.d.ts +0 -139
  165. package/lib/typescript/src/hooks/useOnramp.d.ts.map +0 -1
  166. package/lib/typescript/src/specs/NativeOnrampSdkModule.d.ts +0 -26
  167. package/lib/typescript/src/specs/NativeOnrampSdkModule.d.ts.map +0 -1
  168. package/lib/typescript/src/types/Onramp.d.ts +0 -259
  169. package/lib/typescript/src/types/Onramp.d.ts.map +0 -1
  170. package/package-lock.json +0 -14114
  171. package/patches/README.md +0 -55
  172. package/patches/old-arch-codegen-fix.patch +0 -91
  173. package/src/hooks/useOnramp.tsx +0 -297
  174. package/src/specs/NativeOnrampSdkModule.ts +0 -41
  175. package/src/types/Onramp.ts +0 -297
@@ -385,6 +385,8 @@ export interface UseEmbeddedPaymentElementResult {
385
385
  clearPaymentOption: () => void;
386
386
  // Any error encountered during creation/update, or null
387
387
  loadingError: Error | null;
388
+ // Whether the embedded payment element has loaded (height > 1)
389
+ isLoaded: boolean;
388
390
  }
389
391
 
390
392
  /**
@@ -408,6 +410,10 @@ export function useEmbeddedPaymentElement(
408
410
  const viewRef = useRef<React.ComponentRef<HostComponent<NativeProps>>>(null);
409
411
  const [loadingError, setLoadingError] = useState<Error | null>(null);
410
412
 
413
+ const isLoaded = useMemo(() => {
414
+ return height !== undefined && height > 1;
415
+ }, [height]);
416
+
411
417
  function getElementOrThrow(ref: {
412
418
  current: EmbeddedPaymentElement | null;
413
419
  }): EmbeddedPaymentElement {
@@ -550,5 +556,6 @@ export function useEmbeddedPaymentElement(
550
556
  update,
551
557
  clearPaymentOption,
552
558
  loadingError,
559
+ isLoaded,
553
560
  };
554
561
  }
@@ -44,12 +44,6 @@ export enum PaymentSheetError {
44
44
  Timeout = 'Timeout',
45
45
  }
46
46
 
47
- export enum OnrampError {
48
- Failed = 'Failed',
49
- Canceled = 'Canceled',
50
- Unknown = 'Unknown',
51
- }
52
-
53
47
  export type ErrorType =
54
48
  | 'api_connection_error'
55
49
  | 'api_error'
@@ -51,7 +51,7 @@ export type ApplePayBaseParams = {
51
51
  currencyCode: string;
52
52
  /** The SDK accepts Amex, Mastercard, Visa, and Discover for Apple Pay by default. Set this property to enable other card networks, for example: ["JCB", "barcode", "chinaUnionPay"]. A full list of possible networks can be found at https://developer.apple.com/documentation/passkit/pkpaymentnetwork. */
53
53
  additionalEnabledNetworks?: Array<string>;
54
- /** The list of items that describe a purchase. For example: total, tax, discount, and grand total. */
54
+ /** The list of items that describe a purchase. For example: total, tax, discount, and grand total. The final item should represent your company and the total; it'll be prepended with the word "Pay" (for example, "Pay Example Company $50"). */
55
55
  cartItems: Array<CartSummaryItem>;
56
56
  /** The list of fields that you need for a shipping contact in order to process the transaction. If you include ContactField.PostalAddress in this array, you must implement the PlatformPayButton component's `onShippingContactSelected` callback and call `updatePlatformPaySheet` from there.*/
57
57
  requiredShippingAddressFields?: Array<ContactField>;
@@ -303,7 +303,9 @@ export type DeferredCartSummaryItem = {
303
303
  paymentType: PaymentType.Deferred;
304
304
  /** The unix timestamp of the date, in the future, of the payment. Measured in seconds. */
305
305
  deferredDate: number;
306
+ /** A label for the item. For the final item, this should be the name of your company. */
306
307
  label: string;
308
+ /** The amount for the item. For the final item, this should be the total. */
307
309
  amount: string;
308
310
  };
309
311
 
@@ -312,7 +314,9 @@ export type ImmediateCartSummaryItem = {
312
314
  paymentType: PaymentType.Immediate;
313
315
  /** When creating items for estimates or charges whose final value is not yet known, set this to true. */
314
316
  isPending?: boolean;
317
+ /** A label for the item. For the final item, this should be the name of your company. */
315
318
  label: string;
319
+ /** The amount for the item. For the final item, this should be the total. */
316
320
  amount: string;
317
321
  };
318
322
 
@@ -327,7 +331,9 @@ export type RecurringCartSummaryItem = {
327
331
  startDate?: number;
328
332
  /** The unix timestamp of the end date. Measured in seconds. */
329
333
  endDate?: number;
334
+ /** A label for the item. For the final item, this should be the name of your company. */
330
335
  label: string;
336
+ /** The amount for the item. For the final item, this should be the total. */
331
337
  amount: string;
332
338
  };
333
339
 
@@ -25,7 +25,6 @@ import * as CardFormView from './components/CardFormView';
25
25
  import * as Token from './Token';
26
26
  import * as FinancialConnections from './FinancialConnections';
27
27
  import * as PlatformPay from './PlatformPay';
28
- import * as Onramp from './Onramp';
29
28
 
30
29
  export {
31
30
  ApplePay,
@@ -40,7 +39,6 @@ export {
40
39
  Token,
41
40
  FinancialConnections,
42
41
  PlatformPay,
43
- Onramp,
44
42
  };
45
43
 
46
44
  export * from './PushProvisioning';
@@ -280,9 +278,3 @@ export type CollectBankAccountForSetupResult =
280
278
  setupIntent?: undefined;
281
279
  error: StripeError<CollectBankAccountError>;
282
280
  };
283
-
284
- export type PaymentOptionData = {
285
- icon: string; // base64 string
286
- label: string;
287
- sublabel?: string;
288
- };
@@ -2,7 +2,7 @@ require 'json'
2
2
 
3
3
  package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
4
  # Keep stripe_version in sync with https://github.com/stripe/stripe-identity-react-native/blob/main/stripe-identity-react-native.podspec
5
- stripe_version = '~> 24.24.0'
5
+ stripe_version = '~> 24.23.0'
6
6
 
7
7
  fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'
8
8
 
@@ -37,26 +37,13 @@ Pod::Spec.new do |s|
37
37
  test_spec.source_files = 'ios/Tests/**/*.{m,swift}'
38
38
  end
39
39
 
40
- if fabric_enabled
41
- s.default_subspecs = 'Core', 'NewArch'
42
- else
43
- s.default_subspecs = 'Core'
44
- end
45
-
46
- s.subspec 'Core' do |core|
47
- core.dependency 'React-Core'
48
- core.dependency 'Stripe', stripe_version
49
- core.dependency 'StripePaymentSheet', stripe_version
50
- core.dependency 'StripePayments', stripe_version
51
- core.dependency 'StripePaymentsUI', stripe_version
52
- core.dependency 'StripeApplePay', stripe_version
53
- core.dependency 'StripeFinancialConnections', stripe_version
54
- end
55
-
56
- s.subspec 'Onramp' do |onramp|
57
- onramp.dependency 'stripe-react-native/Core'
58
- onramp.dependency 'StripeCryptoOnramp', stripe_version
59
- end
40
+ s.dependency 'React-Core'
41
+ s.dependency 'Stripe', stripe_version
42
+ s.dependency 'StripePaymentSheet', stripe_version
43
+ s.dependency 'StripePayments', stripe_version
44
+ s.dependency 'StripePaymentsUI', stripe_version
45
+ s.dependency 'StripeApplePay', stripe_version
46
+ s.dependency 'StripeFinancialConnections', stripe_version
60
47
 
61
48
  if fabric_enabled
62
49
  install_modules_dependencies(s)
package/.clang-format DELETED
@@ -1,90 +0,0 @@
1
- ---
2
- AccessModifierOffset: -1
3
- AlignAfterOpenBracket: AlwaysBreak
4
- AlignConsecutiveAssignments: false
5
- AlignConsecutiveDeclarations: false
6
- AlignEscapedNewlinesLeft: true
7
- AlignOperands: false
8
- AlignTrailingComments: false
9
- AllowAllParametersOfDeclarationOnNextLine: false
10
- AllowShortBlocksOnASingleLine: false
11
- AllowShortCaseLabelsOnASingleLine: false
12
- AllowShortFunctionsOnASingleLine: Empty
13
- AllowShortIfStatementsOnASingleLine: false
14
- AllowShortLoopsOnASingleLine: false
15
- AlwaysBreakAfterReturnType: None
16
- AlwaysBreakBeforeMultilineStrings: true
17
- AlwaysBreakTemplateDeclarations: true
18
- BinPackArguments: false
19
- BinPackParameters: false
20
- BraceWrapping:
21
- AfterClass: false
22
- AfterControlStatement: false
23
- AfterEnum: false
24
- AfterFunction: false
25
- AfterNamespace: false
26
- AfterObjCDeclaration: false
27
- AfterStruct: false
28
- AfterUnion: false
29
- BeforeCatch: false
30
- BeforeElse: false
31
- IndentBraces: false
32
- BreakBeforeBinaryOperators: None
33
- BreakBeforeBraces: Attach
34
- BreakBeforeTernaryOperators: true
35
- BreakConstructorInitializersBeforeComma: false
36
- BreakAfterJavaFieldAnnotations: false
37
- BreakStringLiterals: false
38
- ColumnLimit: 80
39
- CommentPragmas: '^ IWYU pragma:'
40
- ConstructorInitializerAllOnOneLineOrOnePerLine: true
41
- ConstructorInitializerIndentWidth: 4
42
- ContinuationIndentWidth: 4
43
- Cpp11BracedListStyle: true
44
- DerivePointerAlignment: false
45
- DisableFormat: false
46
- ForEachMacros: [FOR_EACH_RANGE, FOR_EACH]
47
- IncludeCategories:
48
- - Regex: '^<.*\.h(pp)?>'
49
- Priority: 1
50
- - Regex: '^<.*'
51
- Priority: 2
52
- - Regex: '.*'
53
- Priority: 3
54
- IndentCaseLabels: true
55
- IndentWidth: 2
56
- IndentWrappedFunctionNames: false
57
- KeepEmptyLinesAtTheStartOfBlocks: false
58
- MacroBlockBegin: ''
59
- MacroBlockEnd: ''
60
- MaxEmptyLinesToKeep: 1
61
- NamespaceIndentation: None
62
- ObjCBlockIndentWidth: 2
63
- ObjCSpaceAfterProperty: true
64
- ObjCSpaceBeforeProtocolList: true
65
- PenaltyBreakBeforeFirstCallParameter: 1
66
- PenaltyBreakComment: 300
67
- PenaltyBreakFirstLessLess: 120
68
- PenaltyBreakString: 1000
69
- PenaltyExcessCharacter: 1000000
70
- PenaltyReturnTypeOnItsOwnLine: 200
71
- PointerAlignment: Right
72
- ReflowComments: true
73
- SortIncludes: true
74
- SpaceAfterCStyleCast: false
75
- SpaceBeforeAssignmentOperators: true
76
- SpaceBeforeParens: ControlStatements
77
- SpaceInEmptyParentheses: false
78
- SpacesBeforeTrailingComments: 1
79
- SpacesInAngles: false
80
- SpacesInContainerLiterals: true
81
- SpacesInCStyleCastParentheses: false
82
- SpacesInParentheses: false
83
- SpacesInSquareBrackets: false
84
- Standard: Cpp11
85
- TabWidth: 8
86
- UseTab: Never
87
- ---
88
- Language: ObjC
89
- ColumnLimit: 120
90
- BreakBeforeBraces: WebKit
@@ -1,11 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(grep:*)",
5
- "WebFetch(domain:github.com)",
6
- "WebFetch(domain:raw.githubusercontent.com)"
7
- ],
8
- "deny": [],
9
- "ask": []
10
- }
11
- }
package/.editorconfig DELETED
@@ -1,18 +0,0 @@
1
- # EditorConfig helps developers define and maintain consistent
2
- # coding styles between different editors and IDEs
3
- # editorconfig.org
4
-
5
- root = true
6
-
7
- [*]
8
-
9
- indent_style = space
10
- indent_size = 2
11
-
12
- end_of_line = lf
13
- charset = utf-8
14
- trim_trailing_whitespace = true
15
- insert_final_newline = true
16
-
17
- [*.swift]
18
- indent_size = 4
package/.husky/pre-commit DELETED
@@ -1 +0,0 @@
1
- yarn lint && yarn typescript
package/.idea/GitLink.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="uk.co.ben_gibson.git.link.SettingsState">
4
- <option name="host" value="72037fcc-cb9c-4c22-960a-ffe73fd5e229" />
5
- </component>
6
- </project>
@@ -1,162 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <code_scheme name="Project" version="173">
3
- <JavaCodeStyleSettings>
4
- <option name="IMPORT_LAYOUT_TABLE">
5
- <value>
6
- <package name="" withSubpackages="true" static="false" module="true" />
7
- <package name="android" withSubpackages="true" static="true" />
8
- <package name="androidx" withSubpackages="true" static="true" />
9
- <package name="com" withSubpackages="true" static="true" />
10
- <package name="junit" withSubpackages="true" static="true" />
11
- <package name="net" withSubpackages="true" static="true" />
12
- <package name="org" withSubpackages="true" static="true" />
13
- <package name="java" withSubpackages="true" static="true" />
14
- <package name="javax" withSubpackages="true" static="true" />
15
- <package name="" withSubpackages="true" static="true" />
16
- <emptyLine />
17
- <package name="android" withSubpackages="true" static="false" />
18
- <emptyLine />
19
- <package name="androidx" withSubpackages="true" static="false" />
20
- <emptyLine />
21
- <package name="com" withSubpackages="true" static="false" />
22
- <emptyLine />
23
- <package name="junit" withSubpackages="true" static="false" />
24
- <emptyLine />
25
- <package name="net" withSubpackages="true" static="false" />
26
- <emptyLine />
27
- <package name="org" withSubpackages="true" static="false" />
28
- <emptyLine />
29
- <package name="java" withSubpackages="true" static="false" />
30
- <emptyLine />
31
- <package name="javax" withSubpackages="true" static="false" />
32
- <emptyLine />
33
- <package name="" withSubpackages="true" static="false" />
34
- <emptyLine />
35
- </value>
36
- </option>
37
- </JavaCodeStyleSettings>
38
- <JetCodeStyleSettings>
39
- <option name="LINE_BREAK_AFTER_MULTILINE_WHEN_ENTRY" value="false" />
40
- <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
41
- </JetCodeStyleSettings>
42
- <clangFormatSettings>
43
- <option name="ENABLED" value="true" />
44
- </clangFormatSettings>
45
- <codeStyleSettings language="XML">
46
- <option name="FORCE_REARRANGE_MODE" value="1" />
47
- <indentOptions>
48
- <option name="CONTINUATION_INDENT_SIZE" value="4" />
49
- </indentOptions>
50
- <arrangement>
51
- <rules>
52
- <section>
53
- <rule>
54
- <match>
55
- <AND>
56
- <NAME>xmlns:android</NAME>
57
- <XML_ATTRIBUTE />
58
- <XML_NAMESPACE>^$</XML_NAMESPACE>
59
- </AND>
60
- </match>
61
- </rule>
62
- </section>
63
- <section>
64
- <rule>
65
- <match>
66
- <AND>
67
- <NAME>xmlns:.*</NAME>
68
- <XML_ATTRIBUTE />
69
- <XML_NAMESPACE>^$</XML_NAMESPACE>
70
- </AND>
71
- </match>
72
- <order>BY_NAME</order>
73
- </rule>
74
- </section>
75
- <section>
76
- <rule>
77
- <match>
78
- <AND>
79
- <NAME>.*:id</NAME>
80
- <XML_ATTRIBUTE />
81
- <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
82
- </AND>
83
- </match>
84
- </rule>
85
- </section>
86
- <section>
87
- <rule>
88
- <match>
89
- <AND>
90
- <NAME>.*:name</NAME>
91
- <XML_ATTRIBUTE />
92
- <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
93
- </AND>
94
- </match>
95
- </rule>
96
- </section>
97
- <section>
98
- <rule>
99
- <match>
100
- <AND>
101
- <NAME>name</NAME>
102
- <XML_ATTRIBUTE />
103
- <XML_NAMESPACE>^$</XML_NAMESPACE>
104
- </AND>
105
- </match>
106
- </rule>
107
- </section>
108
- <section>
109
- <rule>
110
- <match>
111
- <AND>
112
- <NAME>style</NAME>
113
- <XML_ATTRIBUTE />
114
- <XML_NAMESPACE>^$</XML_NAMESPACE>
115
- </AND>
116
- </match>
117
- </rule>
118
- </section>
119
- <section>
120
- <rule>
121
- <match>
122
- <AND>
123
- <NAME>.*</NAME>
124
- <XML_ATTRIBUTE />
125
- <XML_NAMESPACE>^$</XML_NAMESPACE>
126
- </AND>
127
- </match>
128
- <order>BY_NAME</order>
129
- </rule>
130
- </section>
131
- <section>
132
- <rule>
133
- <match>
134
- <AND>
135
- <NAME>.*</NAME>
136
- <XML_ATTRIBUTE />
137
- <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
138
- </AND>
139
- </match>
140
- <order>ANDROID_ATTRIBUTE_ORDER</order>
141
- </rule>
142
- </section>
143
- <section>
144
- <rule>
145
- <match>
146
- <AND>
147
- <NAME>.*</NAME>
148
- <XML_ATTRIBUTE />
149
- <XML_NAMESPACE>.*</XML_NAMESPACE>
150
- </AND>
151
- </match>
152
- <order>BY_NAME</order>
153
- </rule>
154
- </section>
155
- </rules>
156
- </arrangement>
157
- </codeStyleSettings>
158
- <codeStyleSettings language="kotlin">
159
- <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
160
- </codeStyleSettings>
161
- </code_scheme>
162
- </component>
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
- </state>
5
- </component>