Hello,
I want to display the localized price in my app.
I use :
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
this code gives an error :
B4i line: 1274
For Each pr As ProductInformation In Products
expected expression
this if valid for both hosted and local , I cant compile it. what am i missing here ?
			
			I want to display the localized price in my app.
I use :
			
				B4X:
			
		
		
		mystore.Initialize("MyStore")
mystore.RequestProductsInformation(Array("product1"))
			
				B4X:
			
		
		
		Sub mystore_InformationAvailable (Success As Boolean, Products As List)
    Log(Products)
    If Success Then
        For Each pr As ProductInformation In Products
            btnsubscribe.Text="Subscribe for " & pr.LocalizedPrice & " / Month"
        Next
    End If
End Subthis code gives an error :
B4i line: 1274
For Each pr As ProductInformation In Products
expected expression
this if valid for both hosted and local , I cant compile it. what am i missing here ?
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		