| /expo/tools/src/ |
| H A D | Markdown.ts | 130 export function isTextToken(token: Token): token is TextToken { 137 export function isHeadingToken(token: Token): token is HeadingToken { 144 export function isListToken(token: Token): token is ListToken { 151 export function isListItemToken(token: Token): token is ListItemToken { 166 for (const token of tokens) { constant 168 token.depth = listDepth; 190 for (const token of tokens) { constant 199 switch (token.type) { 230 return this.indent(token.depth, '#') + ' ' + token.text + EOL.repeat(2); 250 if (token.tokens[0]) { [all …]
|
| H A D | Changelogs.ts | 162 .filter((token): token is Markdown.HeadingToken => isVersionToken(token)) 163 .map((token) => parseVersion(token.text)) 275 const sectionIndex = tokens.findIndex((token) => isVersionToken(token, version)); 354 const versionIndex = tokens.findIndex((token) => isVersionToken(token, version)); 360 (token) => isVersionToken(token) && !isVersionToken(token, UNPUBLISHED_VERSION_NAME) 387 const versionIndex = tokens.findIndex((token) => isVersionToken(token, version)); 393 (token, i) => i >= versionIndex && isChangeTypeToken(token, type) 447 (token) => isVersionToken(token) && !isVersionToken(token, UNPUBLISHED_VERSION_NAME) 589 (!version || token.text === version || parseVersion(token.text) === version) 597 token: Markdown.Token, [all …]
|
| /expo/packages/expo-structured-headers/ios/Tests/ |
| H A D | EXStructuredHeadersTestFixtures.m | 15 …token\",\"value\":\"foo\"},[]],[{\"__type\":\"token\",\"value\":\"bar\"},[]]]},{\"name\":\"Example… 19 …token\",\"value\":\"foo\"},[[\"a*a\",1]]]],\"canonical\":[\"foo;a*a=1\"]},{\"name\":\"0x2b in para… 21 …token\",\"value\":\"a0\"},[]],[{\"__type\":\"token\",\"value\":\"a1\"},[]],[{\"__type\":\"token\",… 31 …token\",\"value\":\"b\"},[[\"q\",1]]]]],\"canonical\":[\"a=b;q=1.0\"]},{\"name\":\"list item param… 33 …token\",\"value\":\"abc_123\"},[[\"a\",1],[\"b\",2],[\"cdef_456\",true]]],[{\"__type\":\"token\",\… 35 …token\",\"value\":\"abc_123\"},[]]],[[\"a\",1],[\"b\",2]]],[{\"__type\":\"token\",\"value\":\"cdef… 41 …token\",\"raw\":[\"a\\u0000a\"],\"header_type\":\"item\",\"must_fail\":true},{\"name\":\"0x01 in t… 43 …token - item\",\"raw\":[\"a_b-c.d3:f%00/*\"],\"header_type\":\"item\",\"expected\":[{\"__type\":\"…
|
| /expo/packages/expo-maps/ios/ExpoMaps/GoogleMaps/PlacesUtils/ |
| H A D | GoogleMapsPlacesTokenUtils.swift | 4 private var token: GMSAutocompleteSessionToken? variable 7 token = GMSAutocompleteSessionToken.init() 11 token = GMSAutocompleteSessionToken.init() in setNewSessionToken() 15 token = nil in deleteToken() 19 if let token = token { in getToken() variable 20 return token in getToken()
|
| /expo/ios/versioned/sdk49/ExpoMaps/ExpoMaps/GoogleMaps/PlacesUtils/ |
| H A D | GoogleMapsPlacesTokenUtils.swift | 4 private var token: GMSAutocompleteSessionToken? variable 7 token = GMSAutocompleteSessionToken.init() 11 token = GMSAutocompleteSessionToken.init() in setNewSessionToken() 15 token = nil in deleteToken() 19 if let token = token { in getToken() variable 20 return token in getToken()
|
| /expo/ios/versioned/sdk48/ExpoMaps/ExpoMaps/GoogleMaps/PlacesUtils/ |
| H A D | GoogleMapsPlacesTokenUtils.swift | 4 private var token: GMSAutocompleteSessionToken? variable 7 token = GMSAutocompleteSessionToken.init() 11 token = GMSAutocompleteSessionToken.init() in setNewSessionToken() 15 token = nil in deleteToken() 19 if let token = token { in getToken() variable 20 return token in getToken()
|
| /expo/apps/bare-expo/ios/BareExpo/ |
| H A D | Dispatch.swift | 19 let token = "\(file):\(function):\(line)" variable 20 once(token: token, block: block) 30 public class func once(token: String, 35 guard !_onceTracker.contains(token) else { return } 37 _onceTracker.append(token)
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/pushprovisioning/ |
| H A D | TapAndPayProxy.kt | 37 internal fun isTokenInWallet(token: Any, newLastFour: String): Boolean { in <lambda>() 57 for (token in task.result) { in <lambda>() method 58 if (isTokenInWallet(token, newCardLastFour)) { in <lambda>() 59 callback(true, mapFromTokenInfo(token), null) in <lambda>() 78 token.getInt("serviceProvider"), in <lambda>() 80 token.getInt("network"), in <lambda>() 88 private fun mapFromTokenInfo(token: Any?): WritableMap? { in <lambda>() 89 if (token == null) { in <lambda>() 101 tokenInfoClass.getMethod("getFpanLastFour").invoke(token) as String in <lambda>() 105 tokenInfoClass.getMethod("getIssuerName").invoke(token) as String in <lambda>() [all …]
|
| /expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/tokens/ |
| H A D | PushTokenModule.kt | 47 FirebaseMessaging.getInstance().token in <lambda>() 54 val token = task.result in <lambda>() constant 55 if (token == null) { in <lambda>() 60 promise.resolve(token) in <lambda>() 61 onNewToken(token) in <lambda>() 84 override fun onNewToken(token: String) { in <lambda>() 87 eventBody.putString(NEW_TOKEN_EVENT_TOKEN_KEY, token) in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/pushprovisioning/ |
| H A D | TapAndPayProxy.kt | 11 typealias TokenCheckHandler = (isCardInWallet: Boolean, token: WritableMap?, error: WritableMap?) -… in <lambda>() 37 internal fun isTokenInWallet(token: Any, newLastFour: String): Boolean { in <lambda>() 40 val existingFpanLastFour = getFpanLastFourMethod.invoke(token) as String in <lambda>() 57 for (token in task.result) { in <lambda>() method 58 if (isTokenInWallet(token, newCardLastFour)) { in <lambda>() 59 callback(true, mapFromTokenInfo(token), null) in <lambda>() 70 …fun tokenize(activity: Activity, tokenReferenceId: String, token: ReadableMap, cardDescription: St… in <lambda>() 78 token.getInt("serviceProvider"), in <lambda>() 80 token.getInt("network"), in <lambda>() 88 private fun mapFromTokenInfo(token: Any?): WritableMap { in <lambda>() [all …]
|
| /expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/components/reactnativestripesdk/pushprovisioning/ |
| H A D | TapAndPayProxy.kt | 11 typealias TokenCheckHandler = (isCardInWallet: Boolean, token: WritableMap?, error: WritableMap?) -… in <lambda>() 36 internal fun isTokenInWallet(token: Any, newLastFour: String): Boolean { in <lambda>() 39 val existingFpanLastFour = getFpanLastFourMethod.invoke(token) as String in <lambda>() 57 for (token in task.result) { in <lambda>() method 58 if (isTokenInWallet(token, newCardLastFour)) { in <lambda>() 59 callback(true, mapFromTokenInfo(token), null) in <lambda>() 70 …fun tokenize(activity: Activity, tokenReferenceId: String, token: ReadableMap, cardDescription: St… in <lambda>() 77 token.getInt("serviceProvider"), in <lambda>() 79 token.getInt("network"), in <lambda>() 86 private fun mapFromTokenInfo(token: Any?): WritableMap { in <lambda>() [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/components/reactnativestripesdk/pushprovisioning/ |
| H A D | TapAndPayProxy.kt | 11 typealias TokenCheckHandler = (isCardInWallet: Boolean, token: WritableMap?, error: WritableMap?) -… in <lambda>() 37 internal fun isTokenInWallet(token: Any, newLastFour: String): Boolean { in <lambda>() 40 val existingFpanLastFour = getFpanLastFourMethod.invoke(token) as String in <lambda>() 57 for (token in task.result) { in <lambda>() method 58 if (isTokenInWallet(token, newCardLastFour)) { in <lambda>() 59 callback(true, mapFromTokenInfo(token), null) in <lambda>() 70 …fun tokenize(activity: Activity, tokenReferenceId: String, token: ReadableMap, cardDescription: St… in <lambda>() 78 token.getInt("serviceProvider"), in <lambda>() 80 token.getInt("network"), in <lambda>() 88 private fun mapFromTokenInfo(token: Any?): WritableMap { in <lambda>() [all …]
|
| /expo/packages/expo-maps/android/src/main/java/expo/modules/maps/googleMaps/placesUtils/ |
| H A D | GoogleMapsPlacesTokenUtils.kt | 7 private var token = AutocompleteSessionToken.newInstance() variable in expo.modules.maps.googleMaps.placesUtils.GoogleMapsPlacesTokenUtils 10 token = AutocompleteSessionToken.newInstance() in setNewSessionToken() 14 return token in getToken()
|
| /expo/ios/Tests/Api/ |
| H A D | EXApiV2Tests.m | 69 …on alloc] initWithDescription:@"EXApiV2Client should post the apns device token to the Expo server… 70 … [[XCTestExpectation alloc] initWithDescription:@"EXApiV2Client should fetch the Expo Push token"]; 83 NSData *token; 84 if (notif.userInfo && notif.userInfo[@"token"]) { 85 token = notif.userInfo[@"token"]; 86 …[[EXApiV2Client sharedClient] updateDeviceToken:token completionHandler:^(NSError * _Nullable post… 87 …XCTAssertNil(postError, @"Unexpected error while posting device token: %@", postError.localizedDes… 92 deviceToken:token 94 …XCTAssertNil(error, @"Unexpected error while fetching Expo push token: %@", error.localizedDescrip… 95 … XCTAssert([expoPushToken isKindOfClass:[NSString class]], @"Expo Push token should be a string");
|
| /expo/packages/expo-notifications/src/ |
| H A D | DevicePushTokenAutoRegistration.fx.ts | 11 async function updatePushTokenAsync(token: DevicePushToken) { 15 return await updateDevicePushTokenAsyncWithSignal(lastAbortController.signal, token); 84 addPushTokenListener(async (token) => { 100 await updatePushTokenAsync(token);
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/monorepo/bump-all-updated-packages/ |
| H A D | bump-package-version.js | 16 .map((token, index) => { 20 return parseInt(token, 10) + 1; 27 return token;
|
| /expo/packages/expo-notifications/build/ |
| H A D | DevicePushTokenAutoRegistration.fx.js | 8 async function updatePushTokenAsync(token) { argument 12 return await updateDevicePushTokenAsyncWithSignal(lastAbortController.signal, token); 58 addPushTokenListener(async (token) => { 72 await updatePushTokenAsync(token);
|
| H A D | TokenEmitter.js.map | 1 …token ([`DevicePushToken`](#devicepushtoken)) as an argument.\n * > **Note:** You should not call …
|
| /expo/packages/expo-auth-session/build/ |
| H A D | TokenRequest.types.js.map | 1 …token type.\n *\n * @see [Section 7.1](https://tools.ietf.org/html/rfc6749#section-7.1)\n */\nexpo…
|
| H A D | TokenRequest.js | 25 static isTokenFresh(token, argument 30 if (!token) { 33 if (token.expiresIn) { 35 return now < token.issuedAt + token.expiresIn + secondsMargin; 280 token; field in RevokeTokenRequest 284 invariant(request.token, `\`RevokeTokenRequest\` requires a valid \`token\` to revoke.`); 287 this.token = request.token; 321 token: this.token, 326 const queryBody = { token: this.token }; property
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/DevSupport/ |
| H A D | ABI47_0_0RCTPackagerConnection.mm | 36 uint32_t token; field 159 const auto token = _nextToken++; 161 return token; 169 const auto token = _nextToken++; 171 return token; 181 return 0; // _nextToken starts at 1, so 0 is a no-op token 183 const auto token = _nextToken++; 185 return token; 189 - (void)removeHandler:(ABI47_0_0RCTHandlerToken)token 193 eraseRegistrationsWithToken(_requestRegistrations, token); [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/DevSupport/ |
| H A D | ABI49_0_0RCTPackagerConnection.mm | 36 uint32_t token; field 159 const auto token = _nextToken++; 161 return token; 169 const auto token = _nextToken++; 171 return token; 181 return 0; // _nextToken starts at 1, so 0 is a no-op token 183 const auto token = _nextToken++; 185 return token; 189 - (void)removeHandler:(ABI49_0_0RCTHandlerToken)token 193 eraseRegistrationsWithToken(_requestRegistrations, token); [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/DevSupport/ |
| H A D | ABI48_0_0RCTPackagerConnection.mm | 36 uint32_t token; field 159 const auto token = _nextToken++; 161 return token; 169 const auto token = _nextToken++; 171 return token; 181 return 0; // _nextToken starts at 1, so 0 is a no-op token 183 const auto token = _nextToken++; 185 return token; 189 - (void)removeHandler:(ABI48_0_0RCTHandlerToken)token 193 eraseRegistrationsWithToken(_requestRegistrations, token); [all …]
|
| /expo/apps/native-component-list/src/api/ |
| H A D | registerForPushNotificationsAsync.ts | 13 const { data: token } = await Notifications.getExpoPushTokenAsync(); 16 console.log(`Got this device's push token: ${token}`); 27 to: token,
|
| /expo/packages/expo-auth-session/src/ |
| H A D | TokenRequest.ts | 40 token: Pick<TokenResponse, 'expiresIn' | 'issuedAt'>, 46 if (!token) { 49 if (token.expiresIn) { 51 return now < token.issuedAt + token.expiresIn + secondsMargin; 356 readonly token: string; 361 invariant(request.token, `\`RevokeTokenRequest\` requires a valid \`token\` to revoke.`); 364 this.token = request.token; 406 token: this.token, 412 const queryBody: Record<string, string> = { token: this.token };
|