Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Ads not showing up on iOS

Ouverte
#359 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
25/100
Type d'issue
Bug
Clarté
À clarifier
Activité
À l'abandon
Stack technique
ios, javascript, react-native
Domaine
mobile-dev

Piste de recherche

L’issue mentionne des bannières publicitaires sur iOS dans react-native-fbads et inclut un événement d’erreur de bannière, mais ne fournit ni version, ni étapes de reproduction, ni comportement attendu, ni fichier, ni test. Commencez par reproduire le parcours de la bannière sur iOS et recueillir les détails manquants de l’environnement ; le travail est terminé lorsqu’un diagnostic confirmé est accompagné d’un test de régression ou d’un correctif documenté.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Bug Report

Before opening

  • Did you try the latest release?
  • Did you look for existing issues?

Ad Modules

Platforms

Versions

  • Android:
  • iOS:
  • react-native-fbads:
  • react-native:

Ads Environment

  • Facebook app installed:
  • Happens in test (dev build + device is marked as a test device):
  • Happens in production (release build + not a test device):
  • Facebook review status: [not submitted | approved]

Current Behaviour

I am trying to display banner ads, it is working fine on android , but getting this error or iOS

'banner error', { dispatchConfig: { phasedRegistrationNames: { captured: 'onAdErrorCapture', bubbled: 'onAdError' } },
_targetInst:
{ tag: 5,
key: null,
elementType: 'CTKBannerView',
type: 'CTKBannerView',
stateNode:
{ _nativeTag: 39,
_children: [],
viewConfig:
{ baseModuleName: 'RCTView',
Manager: 'CTKBannerViewManager',
NativeProps:
{ onAdPress: 'BOOL',
onAdError: 'BOOL',
size: 'NSNumber',
onAdLoad: 'BOOL',
placementId: 'NSString' },
bubblingEventTypes:
{ topChange: { phasedRegistrationNames: { captured: 'onChangeCapture', bubbled: 'onChange' } },
topFocus: { phasedRegistrationNames: { captured: 'onFocusCapture', bubbled: 'onFocus' } },
topSubmitEditing:
{ phasedRegistrationNames:
{ captured: 'onSubmitEditingCapture',
bubbled: 'onSubmitEditing' } },
topTouchEnd: { phasedRegistrationNames: { captured: 'onTouchEndCapture', bubbled: 'onTouchEnd' } },
topBlur: { phasedRegistrationNames: { captured: 'onBlurCapture', bubbled: 'onBlur' } },
topTouchStart: { phasedRegistrationNames: { captured: 'onTouchStartCapture', bubbled: 'onTouchStart' } },
topTouchMove: { phasedRegistrationNames: { captured: 'onTouchMoveCapture', bubbled: 'onTouchMove' } },
topEndEditing: { phasedRegistrationNames: { captured: 'onEndEditingCapture', bubbled: 'onEndEditing' } },
topTouchCancel: { phasedRegistrationNames: { captured: 'onTouchCancelCapture', bubbled: 'onTouchCancel' } },
topKeyPress: { phasedRegistrationNames: { captured: 'onKeyPressCapture', bubbled: 'onKeyPress' } },
topPress: { phasedRegistrationNames: { captured: 'onPressCapture', bubbled: 'onPress' } },
topAdLoad: { phasedRegistrationNames: { captured: 'onAdLoadCapture', bubbled: 'onAdLoad' } },
topAdError: { phasedRegistrationNames: { captured: 'onAdErrorCapture', bubbled: 'onAdError' } },
topAdPress: { phasedRegistrationNames: { captured: 'onAdPressCapture', bubbled: 'onAdPress' } } },
directEventTypes:
{ topAccessibilityTap: { registrationName: 'onAccessibilityTap' },
topMagicTap: { registrationName: 'onMagicTap' },
topLayout: { registrationName: 'onLayout' },
topAccessibilityAction: { registrationName: 'onAccessibilityAction' },
topAccessibilityEscape: { registrationName: 'onAccessibilityEscape' },
onGestureHandlerEvent: { registrationName: 'onGestureHandlerEvent' },
onGestureHandlerStateChange: { registrationName: 'onGestureHandlerStateChange' } },
Constants: {},
Commands: {},
uiViewClassName: 'CTKBannerView',
validAttributes:
{ aspectRatio: true,
flexWrap: true,
height: true,
borderTopEndRadius: true,
accessibilityRole: true,
paddingTop: true,
accessibilityElementsHidden: true,
flexShrink: true,
flexDirection: true,
maxWidth: true,
borderLeftWidth: true,
backgroundColor: { process: [Function: processColor] },
display: true,
borderBottomRightRadius: true,
onLayout: true,
borderTopWidth: true,
borderRightWidth: true,
borderLeftColor: { process: [Function: processColor] },
zIndex: true,
collapsable: true,
paddingStart: true,
borderTopRightRadius: true,
hitSlop: { diff: [Function: insetsDiffer] },
onMagicTap: true,
borderTopLeftRadius: true,
marginStart: true,
flex: true,
borderBottomEndRadius: true,
borderEndColor: { process: [Function: processColor] },
borderColor: { process: [Function: processColor] },
maxHeight: true,
nativeID: true,
paddingLeft: true,
paddingRight: true,
start: true,
borderTopColor: { process: [Function: processColor] },
minWidth: true,
alignSelf: true,
borderRadius: true,
paddingEnd: true,
accessibilityValue: true,
transform: { diff: [Function: matricesDiffer] },
accessible: true,
borderStartColor: { process: [Function: processColor] },
shouldRasterizeIOS: true,
bottom: true,
paddingBottom: true,
shadowRadius: true,
marginTop: true,
borderWidth: true,
minHeight: true,
flexGrow: true,
accessibilityState: true,
accessibilityIgnoresInvertColors: true,
borderRightColor: { process: [Function: processColor] },
borderBottomLeftRadius: true,
needsOffscreenAlphaCompositing: true,
width: true,
paddingHorizontal: true,
marginLeft: true,
shadowOpacity: true,
alignItems: true,
removeClippedSubviews: true,
borderBottomColor: { process: [Function: processColor] },
backfaceVisibility: true,
shadowOffset: { diff: [Function: sizesDiffer] },
justifyContent: true,
pointerEvents: true,
marginVertical: true,
borderBottomWidth: true,
direction: true,
marginBottom: true,
end: true,
right: true,
borderBottomStartRadius: true,
borderTopStartRadius: true,
shadowColor: { process: [Function: processColor] },
accessibilityLabel: true,
accessibilityHint: true,
borderEndWidth: true,
alignContent: true,
accessibilityViewIsModal: true,
padding: true,
borderStyle: true,
marginHorizontal: true,
onAccessibilityAction: true,
opacity: true,
onAccessibilityEscape: true,
onAccessibilityTap: true,
accessibilityActions: true,
position: [TOO BIG formatValueCalls 201 exceeded limit of 200],
overflow: [TOO BIG formatValueCalls 202 exceeded limit of 200],
marginRight: [TOO BIG formatValueCalls 203 exceeded limit of 200],
testID: [TOO BIG formatValueCalls 204 exceeded limit of 200],
margin: [TOO BIG formatValueCalls 205 exceeded limit of 200],
paddingVertical: [TOO BIG formatValueCalls 206 exceeded limit of 200],
top: [TOO BIG formatValueCalls 207 exceeded limit of 200],
marginEnd: [TOO BIG formatValueCalls 208 exceeded limit of 200],
flexBasis: [TOO BIG formatValueCalls 209 exceeded limit of 200],
borderStartWidth: [TOO BIG formatValueCalls 210 exceeded limit of 200],
left: [TOO BIG formatValueCalls 211 exceeded limit of 200],
onAdPress: [TOO BIG formatValueCalls 212 exceeded limit of 200],
onAdError: [TOO BIG formatValueCalls 213 exceeded limit of 200],
size: [TOO BIG formatValueCalls 214 exceeded limit of 200],
onAdLoad: [TOO BIG formatValueCalls 215 exceeded limit of 200],
placementId: [TOO BIG formatValueCalls 216 exceeded limit of 200],
style: [TOO BIG formatValueCalls 217 exceeded limit of 200] } },
_internalFiberInstanceHandleDEV: [Circular] },
return: [TOO BIG formatValueCalls 218 exceeded limit of 200],
child: [TOO BIG formatValueCalls 219 exceeded limit of 200],
sibling: [TOO BIG formatValueCalls 220 exceeded limit of 200],
index: [TOO BIG formatValueCalls 221 exceeded limit of 200],
ref: [TOO BIG formatValueCalls 222 exceeded limit of 200],
pendingProps: [TOO BIG formatValueCalls 223 exceeded limit of 200],
memoizedProps: [TOO BIG formatValueCalls 224 exceeded limit of 200],
updateQueue: [TOO BIG formatValueCalls 225 exceeded limit of 200],
memoizedState: [TOO BIG formatValueCalls 226 exceeded limit of 200],
dependencies: [TOO BIG formatValueCalls 227 exceeded limit of 200],
mode: [TOO BIG formatValueCalls 228 exceeded limit of 200],
flags: [TOO BIG formatValueCalls 229 exceeded limit of 200],
subtreeFlags: [TOO BIG formatValueCalls 230 exceeded limit of 200],
deletions: [TOO BIG formatValueCalls 231 exceeded limit of 200],
lanes: [TOO BIG formatValueCalls 232 exceeded limit of 200],
childLanes: [TOO BIG formatValueCalls 233 exceeded limit of 200],
alternate: [TOO BIG formatValueCalls 234 exceeded limit of 200],
actualDuration: [TOO BIG formatValueCalls 235 exceeded limit of 200],
actualStartTime: [TOO BIG formatValueCalls 236 exceeded limit of 200],
selfBaseDuration: [TOO BIG formatValueCalls 237 exceeded limit of 200],
treeBaseDuration: [TOO BIG formatValueCalls 238 exceeded limit of 200],
_debugSource: [TOO BIG formatValueCalls 239 exceeded limit of 200],
_debugOwner: [TOO BIG formatValueCalls 240 exceeded limit of 200],
_debugNeedsRemount: [TOO BIG formatValueCalls 241 exceeded limit of 200],
_debugHookTypes: [TOO BIG formatValueCalls 242 exceeded limit of 200] },
_dispatchListeners: [TOO BIG formatValueCalls 243 exceeded limit of 200],
_dispatchInstances: [TOO BIG formatValueCalls 244 exceeded limit of 200],
nativeEvent: [TOO BIG formatValueCalls 245 exceeded limit of 200],
type: [TOO BIG formatValueCalls 246 exceeded limit of 200],
target: [TOO BIG formatValueCalls 247 exceeded limit of 200],
currentTarget: [TOO BIG formatValueCalls 248 exceeded limit of 200],
eventPhase: [TOO BIG formatValueCalls 249 exceeded limit of 200],
bubbles: [TOO BIG formatValueCalls 250 exceeded limit of 200],
cancelable: [TOO BIG formatValueCalls 251 exceeded limit of 200],
timeStamp: [TOO BIG formatValueCalls 252 exceeded limit of 200],
defaultPrevented: [TOO BIG formatValueCalls 253 exceeded limit of 200],
isTrusted: [TOO BIG formatValueCalls 254 exceeded limit of 200],
isDefaultPrevented: [TOO BIG formatValueCalls 255 exceeded limit of 200],
isPropagationStopped: [TOO BIG formatValueCalls 256 exceeded limit of 200] }

Expected Behaviour

Steps to Reproduce

Additionals

Langage dominant
Java
Étoiles
451
Forks
146
Métriques de merge des PR
Aucune PR mergée en 30 j

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de callstack/react-native-fbads

Toutes les issues de callstack/react-native-fbads

Issues similaires

Plus d'issues Java

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.