| 251 | } |
| 252 | |
| 253 | export class PhoneProvider extends ProviderBase { |
| 254 | _builder: com.firebase.ui.auth.AuthUI.IdpConfig.PhoneBuilder; |
| 255 | constructor() { |
| 256 | super(); |
| 257 | this._builder = new com.firebase.ui.auth.AuthUI.IdpConfig.PhoneBuilder(); |
| 258 | this._builder.setDefaultNumber; |
| 259 | } |
| 260 | |
| 261 | _defaultNumber: string = ''; |
| 262 | |
| 263 | get defaultNumber(): string { |
| 264 | return this._defaultNumber; |
| 265 | } |
| 266 | |
| 267 | set defaultNumber(value: string) { |
| 268 | this._defaultNumber = value; |
| 269 | this._builder.setDefaultNumber(value); |
| 270 | } |
| 271 | |
| 272 | _defaultCountryIso: string = ''; |
| 273 | |
| 274 | get defaultCountryIso(): string { |
| 275 | return this._defaultCountryIso; |
| 276 | } |
| 277 | |
| 278 | set defaultCountryIso(value: string) { |
| 279 | this._defaultCountryIso = value; |
| 280 | this._builder.setDefaultCountryIso(value); |
| 281 | } |
| 282 | |
| 283 | _blacklistedCountries: string[] = []; |
| 284 | get blacklistedCountries() { |
| 285 | return this._blacklistedCountries; |
| 286 | } |
| 287 | |
| 288 | set blacklistedCountries(values: string[]) { |
| 289 | if (Array.isArray(values)) { |
| 290 | this._blacklistedCountries = values; |
| 291 | const countries = new java.util.ArrayList<string>(); |
| 292 | this._blacklistedCountries.forEach((country) => { |
| 293 | countries.add(country); |
| 294 | }); |
| 295 | this._builder.setBlacklistedCountries(countries); |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | _whitelistedCountries: string[] = []; |
| 300 | get whitelistedCountries() { |
| 301 | return this._whitelistedCountries; |
| 302 | } |
| 303 | |
| 304 | set whitelistedCountries(values: string[]) { |
| 305 | if (Array.isArray(values)) { |
| 306 | this._whitelistedCountries = values; |
| 307 | const countries = new java.util.ArrayList<string>(); |
| 308 | this._whitelistedCountries.forEach((country) => { |
| 309 | countries.add(country); |
| 310 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…